Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set pocus to a tabless page
Message
From
29/02/2004 20:48:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to set pocus to a tabless page
Miscellaneous
Thread ID:
00881930
Message ID:
00881930
Views:
41
I must rely too much on the framework :}

How do you set focus to page 2 of a pageframe that has Tab = .F. at the click of a command button?

This does not work:

Thisform.pageframe1.page2.SetFocus()

If tabs are prsent it works. I also tried setting focus to the first control in page2 but that doesn't work either. Neither does adding Thisform.Refresh().

TIA,

Alex

BTW, it works if I say:

Thisform.Lockscreen = .T.
Thisform.pageframe1.Tabs = .T.
Thisform.pageframe.page2.Setfocus()
Thisform.pageframe1.Tabs = .F.
Thisform.Lockscreen = .F.
Next
Reply
Map
View

Click here to load this message in the networking platform