Recent

Author Topic: TRadioGroup.Font.Color cannot be changed.  (Read 5673 times)

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
TRadioGroup.Font.Color cannot be changed.
« on: September 02, 2017, 05:40:17 am »
TRadioGroup.Font.Color cannot be changed.

Searching for a solution, i discovered a thread on widgets.

So I hunted around and found ProjectOptions had a link to change. I tried 3 and recompiled, each time producing fatal errors. I believe I am using Win32 widget.

How do I simply get control of the component property. Bloody frustrating.

Thanks

B
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: TRadioGroup.Font.Color cannot be changed.
« Reply #1 on: September 02, 2017, 07:28:51 am »
There is a search function for this forums... it is very neat and will f.e. lead you to this thread.

Bazzao

  • Full Member
  • ***
  • Posts: 178
  • Pies are squared.
Re: TRadioGroup.Font.Color cannot be changed.
« Reply #2 on: September 02, 2017, 07:41:33 am »
Thanks Molly that worked.

Searching lead me to a thread about widgets.

It depends upon what search term you use.

I don't know why the default is to lock things down.

Many thanks.

B

PS: That caused me to lose the tickmarks on a TrackBar.


« Last Edit: September 02, 2017, 07:44:17 am by Bazzao »
Bazza

Lazarus 2.0.10; FPC 3.2.0; SVN Revision 63526; x86_64-win64-win32/win64
Windows 10.

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: TRadioGroup.Font.Color cannot be changed.
« Reply #3 on: September 02, 2017, 07:52:09 am »
It depends upon what search term you use.
I used "radiogroup font color". But you are correct in that knowing the correct search terms is a matter of practice and experience.

Quote
I don't know why the default is to lock things down.

PS: That caused me to lose the tickmarks on a TrackBar.
You would have to thank Microsoft for that  :'(

Either your desktop/application is themed or not and when it is then you are bound by defaults that are part of theming. Another solution would be to use customdrawn components that don't depend on OS behaviour (at least not in that way).

 

TinyPortal © 2005-2018