Jumping form using tabs

SueAccess

Registered User.
Local time
Today, 16:59
Joined
Jan 22, 2005
Messages
26
I have a long form that has a tab control at the bottom of it. You have to scroll down to get to the tab section. After I scroll down, when I click on one of the tabs the form jumps up. It doesn't jump up to the beginning of the form but somewhere near the beginning. I've checked everything that I could think of but nothing helps this situation.

Does anyone have any ideas?

Thanks

Sue
 
U can write in the Load or Open event of the Form to set the focus when the form opens.


that is in one of the event write
tabname.setfocus.

OR

select the tab control and open its propetry. In Other property there is a property called "Tab Index". make it 0 (zero). to move the cursor on tab control when form opens.
 
Thanks a lot for the reply krunalprajapati but the problem is that my form has many data entry fields before the tab control (the tab control is at the very bottom of the form). I can set the focus to the first tab on the tab control during the form's onopen, onload events but once you start entering the data in the non-tab fields, the focus on the tab is gone. I think the problem is that because once you try clicking on a tab it starts jumping up and you don't get a good "click" on the tab. The tab gets selected but the focus is not on it. Once you select the tab (and it jumps up to the top of the form) you can go back and click the same tab again and then the focus is good and any clicks on other tabs are good.

There's gotta be a better way to make a living.
 

Users who are viewing this thread

Back
Top Bottom