Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Oblivion is currently offline  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


[Updated on: Tue, 24 February 2015 08:52]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Layout Designer, Code Generator : some switch options are hidden
Next Topic: Layout Designer causes compile errors
Goto Forum:
  


Current Time: Tue Jun 10 05:05:12 CEST 2025

Total time taken to generate the page: 0.06542 seconds