Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox invert problem
Message
From
10/01/2005 16:12:06
Todd Cottengim
Alpine Land Information Services
Redding, California, United States
 
 
To
10/01/2005 15:55:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975756
Message ID:
00975805
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform