Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids and containers
Message
 
To
22/06/2004 11:18:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00916063
Message ID:
00916091
Views:
16
This message has been marked as the solution to the initial question of the thread.
HI Jossue,

>I am having a problem with and containger object inside a grid.
>My container includes a text box and a command button. It opens a screen >that returns a character string according to the user entry and the record ?>pointer position. I have placed this object inside a grid.
>When we click on the button in the first cell, the process works fine. We >move to the next cell with the object and it seams to work but the second >cell takes the value returned from the first cell. It seams that the >pointer in the underline cursor used to populate the grid goes back to the >first record. I have tried to keep the pointer on the second record but it >keeps going back to the first.

Is the grid data source possibly a View that is getting requeried each time you return to your base form?

Also, a possible workaround, in button click event:

m.recno = recno()
do yourform
go m.recno
thisform.yourgrid.refresh


Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Previous
Reply
Map
View

Click here to load this message in the networking platform