0
I wish I could be Disable one of the items in a Tlistbox.
And I’ve tried the following ways and I haven’t succeeded.
ListBoxMenu.ItemIndex(0).Enabled := False;
ListBoxMenu.ItemIndex[0].Enabled := False;
When I put these lines presents this msg.
[dcc32 Error] Untprincipal.pas(6420): E2016 Array type required
Have I tried searching on the website of http://docwiki.embarcadero.com/ but I couldn’t find anything to help me.
Wouldn’t Have the menus change the color of each Tlistbox item?
– Edu Mendonça