Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Button Does Not Retain Font Color
Fri, Nov 13 2015 3:39 AMPermanent Link

Frederick Chin

I have a form with a TEdit and TButton. The TButton has its Font.Color set to clRed.

When I tab from the TEdit to the TButton and back to TEdit, the button's Font.Color is no longer clRed.

Is this as designed?

Frederick
Fri, Nov 13 2015 7:51 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Frederick,

<< I have a form with a TEdit and TButton. The TButton has its Font.Color set to clRed.

When I tab from the TEdit to the TButton and back to TEdit, the button's Font.Color is no longer clRed.

Is this as designed? >>

Yes, the TButton control interface overrides the button text color for state transitions.

Tim Young
Elevate Software
www.elevatesoft.com
Image