Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dragover and calling another method problems
Message
De
27/05/2006 09:16:47
 
 
À
26/05/2006 22:40:26
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01125469
Message ID:
01125495
Vues:
21
>I would like to have the following functionality. Drag an item from a listbox over a command button and fire the click event of the button. Is this possible?
>
>When I try it, the button's click event does not fire. I've put this.click() in the button's Dragover event. Am I missing something or is this simply not possible in VFP?
>
>TIA
>Mike

Yes, it's possible.

You have to set properties of CommandButton: OLEDragMode = 1-Automatic, OLEDropMode = 1-Enabled. You have to put this.Click() in OLEDragOver.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform