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++ Library support » Menus&Toolbars » Toolbar and gray color in layout
Toolbar and gray color in layout [message #6174] Wed, 01 November 2006 15:36 Go to previous message
forlano is currently offline  forlano
Messages: 1182
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I've a tabctrl and in one of the pages there is a layout. In this last I've created a toolbar to attach several buttons with icon. The toolbar looks not so nice. In fact it remains gray while I was waiting to see it white after last chamaleon. PErhaps it is normal.

index.php?t=getfile&id=332&private=0
Perhaps I did a mistake with AddFrame, so I post the code that realize it in the layout:

class VegaTab4 : public WithVegaTab4Layout<ParentCtrl> {
ToolBar toolbar;
FontHeight edt;
EditString edts;
public:
String  filename;
	typedef VegaTab4 CLASSNAME;
...
}


and the constructor

VegaTab4::VegaTab4()
{   int i;
    CtrlLayout(*this);
    SizePos();
    AddFrame(toolbar);	 
    toolbar.Set(THISBACK(MainBar));
... // not important           
}
  • Attachment: vega1.png
    (Size: 3.34KB, Downloaded 4136 times)
 
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: MenuBar does not show slahses
Next Topic: CtrlImg::new_doc()
Goto Forum:
  


Current Time: Fri Mar 29 00:30:25 CET 2024

Total time taken to generate the page: 0.01499 seconds