Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listboxes and Programmatic Change Event
Message
From
22/04/2004 12:51:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00896639
Message ID:
00897276
Views:
18
I've figured out a workaround that seems to work. It doesn't explain why dragging the mouse fires the Programmatic Change event of a list box, but if it works...


In my ListBox Base Class:

-----
ProgrammaticChangeEvent()

IF ( MDOWN() )
this.lMouseDrag = .T.
endif
--------
MouseUpEvent()

IF ( this.lMouseDrag = .T.)
this.lMouseDrag = .F.
this.InteractiveChange()
endif

-----

Thanks for the tip.
Brian Vander Plaats
Previous
Reply
Map
View

Click here to load this message in the networking platform