If you only want to highlight the groupbox caption it is maybe an idea to set := this works in Windows (until Microsoft will decide to disable even this). But you must be aware that this will look different from the native groupboxes. If you REALLY need a colored caption you should experiment with a TPanel to which you add a TBevel and a TLabel - then you have all visual details under your control. The groupbox is not drawn by explicit code somewhere in the groupbox unit (stdctrls) nor in the widgetset unit (win32wsstdctrls.pp *), there are no ThemeServices to be called so that something looking like a native groupbox cannot be emulated.įor this reason, I do not see a way to add a "TGroupBo圎x" to the ExCtrls collection where I already put the extended checkboxes and radiobuttons. That's the price you have to pay for a common appearance of your program. It depends on the widgetset whether you can change the color of the groupbox caption. As usual, colors, although they have entries in the Object Inspector, are determined by the widgetset.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |