mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 02:20:40 +02:00
Themes: teEdit can be disabled too.
git-svn-id: trunk@62220 -
This commit is contained in:
parent
4b89d0b040
commit
6e55b572be
@ -2315,7 +2315,7 @@ begin
|
||||
// teHeader should not be here, it has no disabled state
|
||||
|
||||
Result := False;
|
||||
if (Details.Element in [teButton, teToolBar, teComboBox]) or
|
||||
if (Details.Element in [teButton, teToolBar, teComboBox, teEdit]) or
|
||||
((Details.Element = teRebar) and (Details.Part >= RP_BAND)) or
|
||||
((Details.Element = teWindow) and (Details.Part >= WP_SYSBUTTON) and
|
||||
(Details.Part <= WP_MDIHELPBUTTON)) then
|
||||
|
Loading…
Reference in New Issue
Block a user