Home » U++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Multiple window project advice,examples? (Visual designer layouts and navigation between all.)
Re: Multiple Layout (forms) project examples? [message #44338 is a reply to message #44337] |
Tue, 24 February 2015 08:47   |
Oblivion
Messages: 1210 Registered: August 2007
|
Senior Contributor |
|
|
Quote:Re: Multiple Layout (forms) project examples? Tue, 24 February 2015 00:25
Edward
Should each layout (eg. form1.lay) have it's own corresponding header file (eg, form1.h)?
I ask this because this instruction does not explain clearly in Step 3.
Please see the 'AnotherWindow' section here: http://leonardoce.interfree.it/leowiki.html
I believe when this question is answered my problem will be solved.
Hello Edward,
Usually you won't need more than one layout file (eg., form.lay file), since a single layout file can contain more than one layouts. On the other hand, you may want to seperate layout files semantically if your project is huge and have many components, but this is up to you.
Adding more than one layout to a single layout file is easy and all you have to do is to derive your window/dialog/custom ctrl from the layout template you create with the layout editor. You have to examine the provided examples. Nevertheless, there is a very simple FTP Browser example I wrote within the FTP package in bazaar section of this forum, (Here: http://www.ultimatepp.org/forums/index.php?t=msg&th=8899 &start=0&)
If I understand your problem correctly, maybe this example can give you a clue, since it has a single layout file, a single header file and more than one layouts, dynamically added.
Regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Tue, 24 February 2015 08:52] Report message to a moderator
|
|
|
 |
|
Multiple window project advice,examples?
By: Edward on Sun, 22 February 2015 19:42
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 15:21
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Mon, 23 February 2015 15:32
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 15:45
|
 |
|
Re: Multiple Layout (forms) project examples?
By: jerson on Mon, 23 February 2015 18:38
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 19:20
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Tue, 24 February 2015 09:29
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Tue, 24 February 2015 11:35
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Edward on Mon, 23 February 2015 23:25
|
 |
|
Re: Multiple Layout (forms) project examples?
By: Oblivion on Tue, 24 February 2015 08:47
|
 |
|
Re: Multiple Layout (forms) project examples?
By: mirek on Tue, 24 February 2015 09:26
|
 |
|
Re: Multiple window project advice,examples?
By: Edward on Tue, 24 February 2015 15:31
|
Goto Forum:
Current Time: Tue Jun 10 05:05:12 CEST 2025
Total time taken to generate the page: 0.06542 seconds
|