If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Cursor start point
Hi, I know how to do the Tab Control feature. But I have a Form that has
the Combobox in the Header. In Tab Control the tabs are segregated. i.e. Tabs within Header, Tabs within Details, Tabs within Footer, It appears that one can only control the order of the Tab within its category. In my case the form is opening so that the cursor is in the first control of the Details section of the Form.....and I would like the cursor to begin at the first control of the Headers section....but I see no way to change/control this using the Tab Control feature. Would welcome advice...thanx Would -- NTC |
#2
|
|||
|
|||
Cursor start point
"NetworkTrade" wrote in
message Hi, I know how to do the Tab Control feature. But I have a Form that has the Combobox in the Header. In Tab Control the tabs are segregated. i.e. Tabs within Header, Tabs within Details, Tabs within Footer, It appears that one can only control the order of the Tab within its category. In my case the form is opening so that the cursor is in the first control of the Details section of the Form.....and I would like the cursor to begin at the first control of the Headers section....but I see no way to change/control this using the Tab Control feature. Would welcome advice...thanx Each section of the form has its own tab order, and each page of a tab control has *its* own tab order. Normally a form will open with the focus in the first control in the Detail section's tab order. IIRC, If that control is a tab control, then it will be in the first control in the first page's tab index. I'm not sure that you aren't confusing "Tab Control" with "Tab Index", but it doesn't really matter as far as the solution to your problem is concerned. If you want to force the focus to be in a control in the form's Header section when the form first opens, I think you'll have to put some code in the form's Open or Load event to send it there. So if you want the control to be in, say, the combo box named "cboSearch", you'd have an event procedure like this: '----- start of example code ----- Private Sub Form_Open(Cancel As Integer) Me!cboSearch.SetFocus End Sub '----- end of code ----- -- Dirk Goldgar, MS Access MVP www.datagnostics.com (please reply to the newsgroup) |
Thread Tools | |
Display Modes | |
|
|