Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID Scrolling ----- That Won't !!
Message
From
26/10/2006 15:16:45
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164822
Message ID:
01164826
Views:
10
Hi Tommy try this instead.
*TMT 10/25/06 Code to turn ON the Therapeutic Equivalent Page in the PageFrame
THISFORM.pgfRefillCheck.TPPage.Enabled = .T.
THISFORM.pgfRefillCheck.TPPage.grdProfile.Enabled = .T.

THISFORM.pgfRefillCheck.TPPage.Activate
THISFORM.pgfRefillCheck.MessagePage.Click
THISFORM.pgfRefillCheck.TPPage.grdProfile.SetFocus
THISFORM.pgfRefillCheck.TPPage.grdProfile.DoScroll(6)
THISFORM.pgfRefillCheck.TPPage.grdProfile.Refresh
>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
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform