Recent

Author Topic: disabled tlabel looks very different in IDE compared to application.  (Read 4141 times)

Josh

  • Hero Member
  • *****
  • Posts: 1274
Hi

Noticed a very odd and ugly visual difference between the IDE and the Application.exe of a Tlabel control when Control is Disabled.

If I set a tlabel enabled=false then the IDE shows it a nice gray color, when application is run, it appears very different the gray color has changed and even has a white border around the label.caption.

I have tried setting various project options (using manifest etc).

Image attached

Lararus and FPC Fixes (win32), windows 10 64

left image app.exe, right image ide
« Last Edit: July 09, 2018, 10:25:25 am by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

wp

  • Hero Member
  • *****
  • Posts: 11915
Re: disabled tlabel looks very different in IDE compared to application.
« Reply #1 on: July 09, 2018, 10:46:25 am »
"Project" > "Project options" > "Application settings" > check "For Windows: Use manfest resource (and enable themes)"

 

TinyPortal © 2005-2018