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
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