Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preselecing t Items in a ListBox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00393757
Message ID:
00394155
Views:
12
Yes, the methods I've suggested do work. I've used them both. Your requirement of putting a call in every object's MouseMove is burdensome and completely unnecessary.


>>You must either put your code in the form's Activate method, or, if it's in the form's Init, you must have a THIS.SETFOCU() in the Init of the listbox.
>
>It won't work Barbara. What I've done was this:
>
>1. Created firsttime property of the form initially set as .T.
>2. Created custom method with this code:
>

>If Thisform.firsttime
> For i = 1 TO This.List1.ListCount
> This.List1.Selected(i) = .T.
> Endfor
> Thisform.firsttime = .F.
>Endif
>
>3. Each object's MOUSEMOVE property especially FORM, should call the routine above for execution.
>

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform