Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Act on a DoubleClick event
Message
De
03/06/2005 12:58:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/06/2005 08:58:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01019702
Message ID:
01019978
Vues:
19
>In the past, I have placed code in the DoubleClick() Event of every contained object (Grid.Column1.Text1, for example), to carry out the appropriate action. I think that in VFP 8 and later, you can do this programmatically, with BindEvents().

And from my experience BindEvents() on every column's CurrentControl is the only way to do the doubleclick (or having a subclassed currentcontrol), because grid's doubleclick reacts only when the user dblclicks on a part of the grid where there are no rows. For all other cases, the dblclick is caught by the control in the cell - usually the textbox.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform