Main Board > Nomads

Change colour of Titlebar

(1/1)

Ron Klassen:
Does anyone have any ideas on changing the colour of a Titlebar after it has already been displayed?

This is for a menu panel, and there are options to change theme colours etc. If they change the colour I can have the colour of the other controls changed automatically, but I'm not sure if this can be done on a Titlebar.

This is a resizable panel and if I manually change the size, the titlebar colour is changed. So, any way to simulate a panel size change? 

Mike King:
Try PREINPUT -1105 which is the resize event.  This may cause the redraw logic to kick in.

Ron Klassen:
I thought that might work as well, but it didn't

Ron Klassen:
I ended up using a combination of 'rectangle' and 'text' and it worked perfectly.

Navigation

[0] Message Index

Go to full version