Tab Control

  • Thread starter Thread starter Craig Ferrier
  • Start date Start date
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
 
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.
 
Back
Top