Hi!
You're right, it was at Russian VFP WEB site, sorry :-)
Nice suggestion about ItemEnabled. I saw it somewhere in wishes list...
>>Hi!
>>
>>It is not possible by direct way, and solution with MouseDown is not a good one.
>>
>>We used anotehr solution - create an array that is parallel to List array. In this array we store status of each list item. Then synchronize list items accordingly. This is specially useful for case when list box is disabled/enabled. When list box is disabled/enabled, disable status of particular list item got lost, so we required to restore it. For this purpose, item status array is also very useful.
>>
>>It is good to make a list box class that have such functionality and maintains item status array automatically.
>>
>>You can also search UT messages - there was a thread about this some time ago, with exactly the same solution.
>>
>>HTH.
>
>Are you sure, it was here in UT? I found similar discussion on the Russian Forum as well and I agree, that your solution sounds reasonable. It would be much easier, of course, if listbox (and combobox for that matter) have ItemEnabled property (similar to selected).
>
>Thanks again.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.