Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out if item is disabled in a listbox?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to find out if item is disabled in a listbox?
Divers
Thread ID:
00741505
Message ID:
00741505
Vues:
73
Hi everybody,

At first, this question looks trivial. However, there is no native property of the listbox, which would tell, if the item is enabled/disabled. The question was arised on Russian VFP Club Forum. My first idea was to check, if the List(i) starts with \. However, according to the person, who asked this question, this doesn't work.

Do you have other ideas?

=================================
The background of the problem: ListBox is used as the source for Drag&Drop. Once the item is moved, he adds \ to make it disabled. If he puts a mouse cursor on the disabled line and starts to move it, selected(i) returns .t. So, how to find out, that the item is disabled?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform