Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox invert problem
Message
De
10/01/2005 16:28:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/01/2005 16:12:06
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
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:
00975818
Vues:
10
>>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

Todd,
It was written off the top of my head but now I just tested it and works.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform