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

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Background color of StaticText or EditString
Re: Background color of StaticText or EditString [message #54806 is a reply to message #54805] Thu, 17 September 2020 14:24 Go to previous messageGo to previous message
aquilarubra is currently offline  aquilarubra
Messages: 24
Registered: December 2019
Promising Member
Using layouts, I seem unable to add a widget (StaticRect) from code.

Even a button doesn't show up, whether I put it into the constructor or a click event:
Button button;
*this << button.SetLabel("Button").LeftPosZ(10, 64).TopPosZ(10, 24);

I suspect the layout hides everything under itself. Any way to do that?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Changing mouse icon with MouseEvent
Next Topic: Add Button crashes program on start
Goto Forum:
  


Current Time: Fri Sep 18 02:12:22 GMT+2 2026

Total time taken to generate the page: 0.00706 seconds