Home » U++ TheIDE » U++ TheIDE: Layout (Forms) Designer » How to isolate Layouter to layout for custom export files /drag,resize Ctrl's at runtime
How to isolate Layouter to layout for custom export files /drag,resize Ctrl's at runtime [message #23219] |
Wed, 30 September 2009 12:29 |
|
kohait00
Messages: 939 Registered: July 2009 Location: Germany
|
Experienced Contributor |
|
|
hi there
beeing in need of dragging and resizing controls at runtime, i had a look at the LayDesigner class in ide/LayDes package. i hope to find there some answers, how it is done its quite difficult.
with some digging i managed to compile a test program that just starts up the class, it remains somewhat empy, loading a file there, i only get some kind of wierd behaviour, while i can see the surrounding margins only (some Ctrls).
??? is there any info/help available on how i could resize/change alignment of controls at runtime elsewehre?
??? is it possible to extract the LayDesigner class (and with it the LayDes class, that resembles the function)??
thx
PS: background is, is got some custom controls library and export their type and alignment through a factory to XML and import it also back..now the app just needs to load the xml through the factory. hence, i'd like to change appearance of the used controls and export it back to xml. (well thats much like the layouter itself in some ways, its exaclty what it does, but i need this function at runtime of application). i dont want to change to .lay format, my xml is just fine for that...
Attached is a short testproject, that starts a LayDesigner..but thats all i accomplished so far
|
|
|
Goto Forum:
Current Time: Mon May 13 11:48:12 CEST 2024
Total time taken to generate the page: 0.02356 seconds
|