Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to fill procedure/events programmatically when butto
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00686082
Message ID:
00686098
Vues:
55
>Hi Guys
>Cause i have a grid with recordsource from a table...
>And I also have created the keypress or double click inside the text1 in
>grid.....
>
>When i doubleclick the grid.... the procedure is functioning...
>
>But when i programmatically changes the recordsource from the table
>then the events keypress and double click is not functioning...
>
>How could that be....
>
>Is there any way to solve it...

When you change the recordsource, you reset the grid. You need to put the keypress/dblclick code in textbox classes, and then re-add the textboxes to the columns and change the CurrentControl property after changing the RecordSource. It's a pain in the neck, but it works.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform