Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listboxes and Programmatic Change Event
Message
De
22/04/2004 12:51:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00896639
Message ID:
00897276
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform