Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable items in a list
Message
From
07/05/2003 16:30:30
 
 
To
06/05/2003 22:55:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00785630
Message ID:
00785994
Views:
17
>>>Hi,
>>>
>>>I'd like to programmatically disable some rows in a list so that they cannot get focus. I can dim them by adding '\' ad the beginnign of the first column, but the cursor can still stop in them.
>>>
>>>TIA,
>>>
>>>Alex
>>
>>That may be true, but you can't actually select them.
>
>Since I want to give a visual clue that the row is disabled even when the highlight is on it, I now redefine SelectedItemBackColor in InteractiveChange depending on whether the list item is disabled, and it works!
>
>Fox is great... once you know it. Much to learn.
>
>Alex

Glad you got a workable solution. The learning will never end.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform