Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled item in listbox
Message
 
À
04/01/1999 03:33:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00172140
Message ID:
00172336
Vues:
21
Hi José,

>If you put a backslash ("\") in one columm, you don't need put it in others.

Yes. But there are problems if you directly manipulate the listbox items via the List[] property. Assigning an element without backslash enables the entire row, even if there's one element in it that contains a backslash.

>How can I know if an item is disabled? The only way I think, is testing the first character of the original array.

You can check the List[] or ListItem[] array, eg:
  IF LEFT(This.List[This.ListIndex,1],1) == "\"
     * current item is disabled...
  ENDIF
Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform