Dear developers and Xojo team,
I could use an “how to” advice, and maybe trigger Xojo’s team to make an insignificant improvement for the next release. In my professional applications I did had styles for labels that was making “inverted label” (black back, white text). It is not difficult to do that with custom control. I have added “BackgroundColor” property to that control, and using “Inspector behaveour” I have placed that property in desing, while in “opening” of that control I have added Me.Style.BackgroundColor = BackgroundColor
This is all working as expected in run mode. However, It is really difficult to design, as my white text on my white pages (required by users!!) is not shown, and the transparent labels exists - nowhere until clicked on it in desing mode.
Any advice, and can we expect further version of xojo to add BackgroundColor to labels - that will change in design mode as well (like text behaves now)?
Thank all for any suggestions.
To keep things easier to use in design mode, you might want to leave the Label’s Text Color as black in the Inspector and then change it to white at runtime in the Opening event:
That is a workaround, but still, the label in design is not colored, so one must make assesment regarding their width, as the full width will be in color. Thanks anyway.