Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refreshing from a toolbar.
Message
From
21/04/1997 12:21:08
 
 
To
21/04/1997 10:34:51
Andrew Gray
Petrolink Services Ltd
Aberdeen, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00029070
Message ID:
00029098
Views:
29
Andrew,

I'm not sure I fully understand your problem, but it seems that it is the Refresh() method that is getting you.
*BY DESIGN* (yes, even documented in the Help!), Refresh() on a PageFrame only acts on the active page. I infer from this that Refresh() on a form containing a PageFrame does not do much to the PageFrame, let alone the ActivePage.

You should be able to get what you need by Refreshing the specific object.

Good Luck,
Jim N

>This should be a fairly straight forward scenario... HA.
>
>I have a one-to-many form with a pageframe. One of the pages is a grid control showing the many info, the 'one' info is all on other pages. Navigation is via a generic toolbar which skips in the parent table and then issues a Form.Refresh().
>With the navbuttons on the form it works fine. With any other control other the the grid active it works fine. But if a control in the grid has focus when I click on my 'Next' button, the grid does not refresh! the parent table is looking at the next record, the child one is not! Clicking on a different page and then back on the grid one updates it fine but isn't really whatr I am looking for. Is there a KeepLockedOnTheOriginalRecordComeWhatMay property that I can't find? What am I missing ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform