Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG? Hotkeys for pageframe not working when button has f
Message
From
18/03/2005 11:46:58
 
 
To
18/03/2005 02:57:30
Eyvind W. Axelsen
Profdoc Norge As
Oslo, Norway
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00996294
Message ID:
00997304
Views:
10
>Here is repro code, can anyone confirm?
>
>
>Local loForm As Form
>loForm = CreateObject("TestForm")
>loForm.Show()
>
>Define Class TestForm As Form
>
>	Add Object cmd1 As CommandButton with top = 20, left = 20, height = 30, width = 300, caption = "Test b\<utton 1"
>
>	Add Object pgf1 As PageFrame with top = 60, left = 20, pagecount = 2, page1.caption = "Test pa\<ge 1", page2.caption = "Test p\<age 2"
>
>	WindowType = 1
>	height = 500
>	width = 500
>	
>	Procedure init
>	
>		this.cmd1.SetFocus()
>	
>	EndProc
>	
>EndDefine
>
>
>Try pressing ALT+A to access page 2. At least on my setup, nothing happens.
>
>Eyvind.

No, I think that's the way it's supposed to work. The Pageframe itself (or at least one of the pages or controls on a page) must have the focus for the Page hotkeys to function. Works that way in every version of VFP I tried it in (VFP6-9).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform