In my forms I have a tab control containing two pages, in tabpage1 (list view) tabpage2 (gridview) and a several buttons. my problem now is how to know that if the user hit a button then locate the active control or tabpage eaither tabpage1 or tabpage2. I intent that the user chosen either the tabpage1 or tabpage2 then click the ok button, after click the ok button then I want to know the previous active control or tabpage. Please help me
I am a newbie with this environment, I am using vb 2005. I have no other resources but only this forums. I have read some help and tutorial but sometimes very hard to understand
Thanks a lot