Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Select next item in Mover Class
Message
 
To
06/01/2005 10:48:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974692
Message ID:
00974697
Views:
22
This message has been marked as the solution to the initial question of the thread.
>In mover class after moving one item from source list box to selected list box I would like to select the next item of source list box automatically.
>
>I have tryed Click and setfocus method. What it works is to set the value property with the next value of item, but how to find out the next value?


What If:
IF thisform.MoverList.ListIndex < thisform.MoverList.ListCount
   thisform.MoverList.ListIndex = thisform.MoverList.ListIndex+1
ELSE
   thisform.MoverList.ListIndex = 1
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform