Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox invert problem
Message
De
10/01/2005 16:12:06
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
 
 
À
10/01/2005 15:55:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00975756
Message ID:
00975805
Vues:
11
>Would this do?
>
>Lparameters pcSelectionType
>
>** parameter and property check
>If Vartype(pcSelectionType) # "C" Or !This.MultiSelect
>    Return
>Endif
>
>Local lnThisItem
>With This
>    For lnThisItem = 1 To .ListCount
>        .Selected(m.lnThisItem) = ( m.pcSelectionType = "ALL" Or ;
>            (m.pcSelectionType = "INVERT" And !.Selected(m.lnThisItem)))
>    Endfor
>Endwith
>
Cetin.

The code looks great and once again "ALL" and "NONE" function properly but "INVERT" act as though I have passed "ALL".

This is one frustrating problem.

Todd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform