Re: [Lazarus] TToolButton:.Marked

2018-03-03 Thread Werner Pamler via Lazarus

Thanks. Something like an additional boolean Tag, then.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] TToolButton:.Marked

2018-03-02 Thread rvk via Lazarus
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/
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus