Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Double-click a grid cell?
Message
From
02/11/1999 20:29:13
 
 
To
02/11/1999 20:21:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00285131
Message ID:
00285870
Views:
13
Hi Adrian.

Once you Re-Assign the grid.Recordsource, VFP will auto-release all column objects..
including headers and textbox controls etc.

So, if you really want to re-assign grid source!

You need to make some textbox controls class and replace them after re-assignment!!

In File Section, there is a Bwtable.zip (Browse DBF tables in Current directory)
Download it and have a look! ^_~




>Thanks, Erik. That's so simple it hurts.
>
>Now a new problem; same grid.
>
>The underlying table is a cursor I generate from a form method. The data changes, I rebuild the cursor using the form method. I do
>
> thisform.grid1.recordsource = thisform.grid1.recordsource
>
>to force the grid to refresh. This works, but now my grid cells don't respond to the double-click event any more. Oddly, my column formatting is lost also.
>
>Clues?
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform