Tab Control

C

Craig Ferrier

In a form I have 2 subforms embeded into a tab control

The three sections of the tab control are for

Page 1 - Address (part of the main form details)
Page 2 - Donation Details (subform)
Page 3 - Codes (subform)

Is there a way to key tab from the last field on page 1 to the first field
in the subform on page 2 or even to the open the second tab control page
using the tab or enter key.

Thanks

Craig
 
R

Rick Brandt

Craig Ferrier said:
In a form I have 2 subforms embeded into a tab control

The three sections of the tab control are for

Page 1 - Address (part of the main form details)
Page 2 - Donation Details (subform)
Page 3 - Codes (subform)

Is there a way to key tab from the last field on page 1 to the first field
in the subform on page 2 or even to the open the second tab control page
using the tab or enter key.

Add a very small TextBox to the TabPage and make it last in the TabOrder.
In its GotFocus event set the focus to the desired control on the second
TabPage. You can set the size and display characteristics such that for
all intents and purposes the TextBox is invisible, but its visible and
enabled properties must be true.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top