Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing Nav buttons when moving a listbox
Message
 
 
To
07/02/2002 14:58:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00616930
Message ID:
00617066
Views:
17
>I have a form which has l list box of value and a set of navigation buttons defined in a class. I would like to refresh the navigation buttons when moving in the list box, assume 3 items.
>
>1. when at line 1 down and bottom buttons are highlighed
>2 when at line 2 all buttons are highlighted
>3. when at line 3 up and top buttons are highlighted
>
>This works when using the buttons. How do I do it from the list box?
* InteractiveChange Event 
DO CASE
CASE This.ListIndex = 1 
  * top of the list - the 1st item
CASE This.ListIndex = This.ListCount
  * Bottom of the list - the last item
OTHERWISE
  * Somewhere in the middle
ENDCASE
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform