U++ framework
Do not panic. Ask here before giving up.

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: 1244
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 4640 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: Sun Sep 13 20:42:36 GMT+2 2026

Total time taken to generate the page: 0.01090 seconds