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 » Modifying AddressBookXML2
Modifying AddressBookXML2 [message #22789] Sun, 16 August 2009 05:17 Go to next message
ksingh is currently offline  ksingh
Messages: 3
Registered: August 2009
Location: Toronto
Junior Member
Both C++ and this framework are foreign environments at this time...

That said, I have added a new layout/tab to the addressbook example. The intention is to ultimately have a full RTF editor at that location but for now I'll settle for DocEdit. However, I don't know how to get rid of the current ArrayCtrl present in the first two.

I assume the issue is how to initialize,

WithOutputLayout<ParentCtrl> output;


On a related matter, how does one make the whole dialog resizable?

Finally, are there any examples of this type of simple tabbed application with just code and no visual layout?

Thanks.
Re: Modifying AddressBookXML2 [message #22790 is a reply to message #22789] Sun, 16 August 2009 16:12 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3352
Registered: August 2008
Senior Veteran
Hello ksingh

Quote:

On a related matter, how does one make the whole dialog resizable?


Add a Sizeable(); in the window constructor:

AddressBook::AddressBook()
{
	...
	menu.Set(THISBACK(MainMenu));
	Sizeable();
}


And in the layout editor change the "springs" with "rods" by clicking the "spring" with the left button where it makes sense. I mean:

index.php?t=getfile&id=1888&private=0

This way the control width-height will follow window size making it really resizable.

Best regards
Koldo
  • Attachment: Dib.PNG
    (Size: 8.91KB, Downloaded 585 times)


Best regards
IƱaki
Re: Modifying AddressBookXML2 [message #22791 is a reply to message #22790] Sun, 16 August 2009 16:52 Go to previous message
ksingh is currently offline  ksingh
Messages: 3
Registered: August 2009
Location: Toronto
Junior Member

Thank you.
Previous Topic: Incorrect default font settings in Layout Designer
Next Topic: Toggle layout/text view in Layout Designer
Goto Forum:
  


Current Time: Tue Mar 19 05:31:54 CET 2024

Total time taken to generate the page: 0.01334 seconds