Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable items in a list
Message
De
07/05/2003 16:30:30
 
 
À
06/05/2003 22:55:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00785630
Message ID:
00785994
Vues:
18
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform