Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid class to know if any control is double clicked
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
00971672
Message ID:
00971780
Vues:
15
Hi Marica

>The problem is that when you dblClick on a row in the grid that has data, it is the contained control's (the textbox) dblClick that fires. The only time the grid's dblClick fires is when you click on a row that does not have data.

Beat the idea of finding out which row has been double-clicked <g>

>
>This.Parent.Parent.dblClick()
>
>
>And when you set the ColumnCount of the grid, loop through the columns collection and programmatically add your custom text box and remove the native one.

I liked Gregory's idea of putting the above code into the class I have for the columns textbox, which is luckily subclassed.

Thanks for your help.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform