Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Hot State of TGridCell
Mon, Feb 1 2016 11:54 AMPermanent Link

Uli Becker

I have changed the interface of TGrid, TGridCell etc.

There are different states:

Normal
Hot
Focused
Both
Selected

1. What does the "Both" state do?
2. I don't want the "Hot" state to override the "Selected" state. How
can I do that?

Thanks Uli
Mon, Feb 1 2016 3:07 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< I have changed the interface of TGrid, TGridCell etc.

There are different states:

Normal
Hot
Focused
Both
Selected

1. What does the "Both" state do? >>

It means that it's both focused and selected, and applies primarily to the grids (including the calendar) and lists.

<< 2. I don't want the "Hot" state to override the "Selected" state. How can I do that? >>

I wouldn't recommend that, but if you want to, you can modify the TGridCell.UpdateInterfaceState method to allow this.  One note, though:  the next 2.05 release will be reversing the current behavior of having the "Hot" state override the "Focused" state in all controls.  It was a mistake to make it like that, and I should have kept the original behavior.  I got the product in front of some new developers, and that was something that was pointed out as being confusing.

Tim Young
Elevate Software
www.elevatesoft.com
Image