Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page, Pageframe, Tab
Message
From
15/01/2001 17:10:59
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00463927
Message ID:
00463971
Views:
12
Hi eric,

How about trapping a TAB in the KeyPress event of the last control in the first page of the frame which would set the Frame.ActivePage property to the page number you want. Don't forget to also set the focus to the first control on the target page.

HTH

Liam



>Hello!
>
>I have a pageframe on my form with multiple page.
>When no control have the focus on page one, for example the last control lost the focus by pressing TAB key, I want the page two to have the focus automaticaly. When a page lost the focus, the focus isn't going to the pageframe.
>
>Where should I put the code to do this?
>There's no Lostfocus method, I have tried Deactivate event with no succes.
>May be there is a property?
>
>Any idea?
>
>Thank's,
>Eric
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Reply
Map
View

Click here to load this message in the networking platform