Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to fill procedure/events programmatically when butto
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00686082
Message ID:
00686098
Views:
50
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform