Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox and LockScreen
Message
From
04/12/2009 00:14:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01437599
Message ID:
01437603
Views:
46
>>Hi All,
>>
>>When changing a Listbox's selected item, I want to be able to lock the screen and do some stuff before any visual indication that the selected item has been changed. It's no problem to do this when the Action invokes the Keypress event -- I just set Thisform.LockScreen=.T. there and reset it to .F. at the end of InteractiveChange. However, checking dog-eared page 130 of my Megafox book, Keypress is not in the event sequence when selecting a list item with the mouse, and setting LockScreen=.T. at the top of InteractiveChange is too late. Is there a workaround for this?
>>
>>TIA,
>>-mark
>
>Did you try click or when event of ListBox?

According to Megafox, the firing order is InteractiveChange/Click/When. Click did not fire soon enough for me. Did not try When.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform