Forum > Designer
Change color of disabled Shell components?
(1/1)
QEnnay:
Hi, I am using ShellTreeView and ShelListView and all OK.
I sometimes need to disable them but still have the data visible.
I set ReadOnly for both, but both still allows Navigation. Not my idea of "Read Only." :)
I then set the Enabled to False for both and I can see the data and they are not navigable. WooHooo
BUT, the Tree has a White background and the List has a Gray. Arrrgggh.
How can I make the List have a White background or at worst, make the Tree have Gray?
I know Enabled:=False; generally shows Gray, but I'd really like to see them both the same color.
Remy Lebeau:
--- Quote from: QEnnay on August 17, 2021, 07:40:38 pm ---How can I make the List have a White background or at worst, make the Tree have Gray?
I know Enabled:=False; generally shows Gray, but I'd really like to see them both the same color.
--- End quote ---
Try putting them in another container control, like a TPanel, and then disable the container rather than disabling them directly.
Navigation
[0] Message Index