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 » Developing U++ » UppHub » Collapsable/Expandable Frame
Collapsable/Expandable Frame [message #12019] Mon, 08 October 2007 11:56 Go to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
This package provides two controls that give to ability to have dynamically expandable/collapsable layouts, similar to MS Outlook (in function, if not appearance).
index.php?t=getfile&id=1433&private=0
The style shown is the default, but can be redefined using a Chameleon.

ExpandFrame: A frame that can be applied to any Upp Ctrl and allows the user to hide/show it's child ctrl. A simple example:
TopWindow wnd;
ExpandFrame frame;
DocEdit editor;

frame.Left(editor, 300).SetTitle("Left-aligned editor").Expand();
wnd.AddFrame(frame);
wnd.Run();

ExpanderCtrl: This is container ctrl that allows the grouping of ExpanderFrames with minimal effort from the programmer. A scollbar is automatically provided when necessary.
TopWindow wnd;
ExpanderCtrl expand;
DocEdit editor;

expand.AddExpander(editor, true, 300).SetTitle("Vertical frame container");
wnd.Add(expand.SizePos());
wnd.Run();
See the ExpandFrameExample package for a further example.

James

[Updated on: Tue, 14 October 2008 12:42]

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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: Added single and double linked lists
Next Topic: AESStream MSCx66 error and fix
Goto Forum:
  


Current Time: Thu Mar 28 22:22:56 CET 2024

Total time taken to generate the page: 0.01007 seconds