Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Act on a DoubleClick event
Message
De
03/06/2005 21:31:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/06/2005 12:58:09
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01019702
Message ID:
01020179
Vues:
20
>>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.

So BindEvents() seems to be the best solution, right? - I haven't used it yet, still doing serious stuff in version 6 :( at work they are not too keen to upgrade.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform