Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID Scrolling ----- That Won't !!
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
GRID Scrolling ----- That Won't !!
Miscellaneous
Thread ID:
01164822
Message ID:
01164822
Views:
56
Hello Gang!

Question Today!

I have a Grid in a Page of a PageFrame.

When the Form is Instantiated, I have set the Page of the Grid to be Enabled = False.

I don't want the user to be able to see or touch the Grid until they need to by pressing a Command button just for that cause.

When they DO press the Command Button to see the Grid in the Page, the Page is Enable to True.

The Grid is exposed, BUT.. BUT... BUT The Scroll bars don't work!

If they Click with the Mouse on the Other Page of the Page Frame, THEN click back on the Grid's Page, THEN the Scroll Bars become Active and work!!!

??????????????????????????????????????????????????????????

Here is the Code, AT the MOMENT, in the command button.

TPPage is the Page of the Grid grdProfile
*TMT 10/25/06 Code to turn ON the Therapeutic Equivalent Page in the PageFrame
THISFORM.pgfRefillCheck.TPPage.Enabled = .T.

THISFORM.pgfRefillCheck.TPPage.SetFocus
THISFORM.pgfRefillCheck.TPPage.Click
THISFORM.pgfRefillCheck.MessagePage.Click
THISFORM.pgfRefillCheck.TPPage.Click
THISFORM.pgfRefillCheck.TPPage.grdProfile.SetFocus
THISFORM.pgfRefillCheck.TPPage.grdProfile.DoScroll(6)
THISFORM.pgfRefillCheck.TPPage.grdProfile.Refresh
Thanks for any help!!!
Tommy
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform