Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GRID Scrolling ----- That Won't !!
Message
 
To
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:
01164828
Views:
7
I copied and pasted it into the source code, but it did the same thing.....

Thanks!

>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
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform