Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing a Grid without switching pages…
Message
De
09/09/1998 19:59:12
 
 
À
09/09/1998 05:46:16
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00134367
Message ID:
00134849
Vues:
16
>Hi Harry,
>
>Easy bit first.... the Combo is contained by the Page which is contained by the PageFrame which is contained by the Form. To get to an objects immediate container, reference the Parent property.
>
>So, to refresh a grid on page2, from the combo on page 1
>This.Parent.Parent.Page2.Grid.Refresh()

ah right - I can use a 'Parent.Parent' syntax. I thought I'd read that somewhere but couldn't find it again when I needed it!


>As to the data problems, I would have thought that a refresh of the Grid would be all that is required,
>
>e.g from the combo on page 2
>This.Parent.Grid.Refresh()

>
>Try this, as I seem to remember some problem with ALL pages in a pageframe being refreshed from a Thisform.Refresh()


now this, and all variations on it (that I can think of) I have tried. It doan wanna work...

Regards and thanks

Harry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform