Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out if item is disabled in a listbox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00741505
Message ID:
00741571
Vues:
24
>>I do not use drag and drop on my mover list boxes, however, this seems to work for disabled items when fired by a button or double click.
>>
>>*** aryAvailableValues = RowSource
>>*** AvailableValue = ControlSource
>>
>>*** Move the hightlighted Available value to the Selected list
>>*** If Item is Disabled, ignore it
>>IF SUBSTR(aryAvailableValues(AvailableValue,1),1,1) <> "\"
>>
>>*** Code to move selected item from one list to the other
>>
>>ENDIF
>>
>What is the RowSource for your mover? Apparently, this works only if the RowSource is array and doesn't work for other RowSources...

RowSource = aryAvailableValues
Dennis Lindeman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform