Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe with EditBox & Grids in VFP 6 SP5 & 7 with Updates
Message
From
04/10/2001 17:50:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Pageframe with EditBox & Grids in VFP 6 SP5 & 7 with Updates
Miscellaneous
Thread ID:
00564535
Message ID:
00564535
Views:
155
Hi,

I have a form with a Pageframe with 7 pages on it. On one of the form I have 2 grids with a Button to show either one of these grids at one time (by using Visible property of the grid). I also have a Edit Box on that page. The click method of the button controls which grid to show and it makes the other invisible. It works fine if I use mouse to move from one Page to the other pages. But if I try to use code (setfocus and/or Activate methods on that page) to move from other pages to the Page with the Grids and then click on the button to show the other grid, the grids and Edit Box's scroll control do not get refreshed and old grid (which was made invisible) is still showing partially with the other new grid (which is made visible now). Even if I put Thisform.Refresh or Page.Refresh methods, still nothing changes. But, if I click on the Top of the Page and then click on the command button everything works perfectly. But I cannot ask my users to click on the top of Page to make it work.

This behaviour is same in VFP 6.0 SP5 & VFP 7.0 with Updates installed from MS.

What is possibly wrong? Thanks for any help in advance.

Bal Singh
Next
Reply
Map
View

Click here to load this message in the networking platform