Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a Grid without switching pages…
Message
From
09/09/1998 19:59:12
 
 
To
09/09/1998 05:46:16
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00134367
Message ID:
00134849
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform