[Lazarus] TToolButton:.Marked

rvk rik at graficalc.nl
Fri Mar 2 12:57:00 CET 2018


Free Pascal - Lazarus mailing list wrote
> Does anybody know what the property "Marked" of TToolButton is good for?

According to the Microsoft documentation Marked is TBSTATE_MARKED.
Down is TBSTATE_PRESSED OR TBSTATE_CHECKED.
So they ARE different.

TBSTATE_MARKED is described as:
Version 4.71. The button is marked. The interpretation of a marked item is
dependent upon the application.

https://msdn.microsoft.com/en-us/library/windows/desktop/bb760437(v=vs.85).aspx

So it's up to the application to implement this. Just look at it as an extra
"option" for the button.

Rik




--
Sent from: http://free-pascal-lazarus.989080.n3.nabble.com/


More information about the Lazarus mailing list