Programatic Windows Creation
closed
n
nanda.motikane@cse-icon.com
It will be very handy if we can generate windows using data in excel. Atleast be able to generate windown from a Excel list of components, X and y positions. Further modifications can be done manually. Or even be able to import an XML or CSV file with component type and x, y postions.
Log In
pscott
closed
Closing the idea. It's an interesting concept, but we don't really see the need. If anyone can come up with some additional reasoning for this idea, then place feel free to create a new post.
pscott
What exactly is the use case here?
If you're attempting to standardize how your windows are initially created, then you can configure such a window in the designer, and export it for later use.
If your project contains such a templated-window, then you can duplicate the window while in the designer.
What exactly does an XML or CSV file that defines a window give you that can't already be accomplished with the tools available in the designer?
awalker
under review
P
Phil Turmel
XML Import/Export of windows is already possible, via the clipboard. Hold the shift key down while right-clicking on the window name to expose the extra XML options. Export a simple one to get the format. You can prune extraneous property assignments before importing if the defaults are OK. Beware of bindings -- they are exported first, and any components referenced by a binding will end up nested in the binding definition.
n
nanda.motikane@cse-icon.com
Even ability to generate using API's, that will be great.