Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Refreshing from a toolbar.
Message
De
21/04/1997 12:21:08
 
 
À
21/04/1997 10:34:51
Andrew Gray
Petrolink Services Ltd
Aberdeen, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00029070
Message ID:
00029098
Vues:
27
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 ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform