Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Linking listboxes. Possible?
Message
 
To
02/06/1998 03:31:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103882
Message ID:
00103960
Views:
24
>>>May i know which one of the items showed in a listbox is the first one actually in the control box ?
>>>The reason i need this is to link two listboxes, and when the user scrolls in one, scroll the other one programatically. Columns does not solves for me, i need 2 or 3 listboxes linked.
>>Carlos,
>>Check listindex property. Also where appropriate you can set it directly with value.
>>Cetin
>
>Cetin, i think i've not explain fine my need. I know how to link by value, but i want not only linked values, but showing the same items in both of the listboxes.
>If the user scrolls one control, doesnt change the value of the lisbox but he change the items showed on it, and i want do the same programatically in the other listbox.

Carlos, in my case for example I have particlar group members displayed in one listbox and all users displayed in second listbox, so to syncronyze movements I use

***LstGroupMembers.InteractiveChange()
this.parent.lstUsers.DisplayValue = this.DisplayValue

HTH,

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform