xsharp.eu • Clone VOWindows in X#
Page 1 of 1

Clone VOWindows in X#

Posted: Tue Oct 20, 2020 1:41 pm
by ArneOrtlinghaus
Nearly always we create new VO-Windows in VO in the following manner:
- We open the Windows Editor
- We click "Open..."
- We select one of the existing dialog windows of the DLL
- We click "Clone"
- We have a new window with all of our standard settings in a correct manner as we need it (Exact size of tab window, correct settings as inherit from, some controls to copy)

Is there a similar possibility in X#?

Clone VOWindows in X#

Posted: Tue Oct 20, 2020 6:06 pm
by Chris
Hi Arne,

There isn't one build in way to do it now, but will add a feature request. For now, there are two ways to do it in alternative ways:

1. Select All and copy/paste all controls from source to destination window
2. Create a new window, close it, then open the .xsfrm files for the source and destination window and again copy/paste the contents (keeping the name of the new window intact of course!)

Clone VOWindows in X#

Posted: Wed Oct 21, 2020 5:10 am
by wriedmann
Hi Chris,
please add this feature request also for XIDE (both the VO Window Editor and the Windows Forms Editor).
Currently I'm copying this by hand. In VO, I really newer start with a window from scratch - I start always from a similar one, even if I need only to keep the "OK" and "Cancel" buttons.
Wolfgang

Clone VOWindows in X#

Posted: Wed Oct 21, 2020 6:42 am
by Chris
Hi Wolfgang,

OK, will do that, too!

Clone VOWindows in X#

Posted: Wed Oct 21, 2020 8:04 am
by wriedmann
Thank you very much!
Wolfgang

Clone VOWindows in X#

Posted: Thu Oct 22, 2020 7:41 am
by Meinhard
Hi Chris!

Wouldn't it be better to support VS export template mechanism? I tried it but seems not to be working at the moment. This way we could have different kinds of templates without the need to do all this copy & paste stuff.

Regards
Meinhard

Clone VOWindows in X#

Posted: Thu Oct 22, 2020 8:28 am
by Chris
Hi Wolfgang!

Interesting idea...not sure myself if that's possible for the VOWED, as I have no idea how this feature works, will let Robert give his input on that.