Do you mean the data interaction of a database when you refer grid or list? Does EditMode is established in the form's declarations section? Sorry for my question, I am new to programming.
Maybe something like that???
where ChckSaveBtnPressed is a boolean variable indicates that the button has pressed.
Private Sub LoginTabCntrl_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles LoginTabCntrl.SelectedIndexChanged
OppositeTabIndx =...
I was searching an event like that Auguy, thank you so much, what kind of code could you place there to prevent users from entering certain pages when they are in "edit" mode. Can you give an example please?
Thank you so much, for your reply.
I finally tried this and it seams to work for me.
Dim OppositeTabIndx As Integer
OppositeTabIndx = LoginTabCntrl.SelectedIndex + 1
LoginTabCntrl.SelectedIndex = OppositeTabIndx LoginTabCntrl.TabPages.Remove(LoginTabCntrl.SelectedTab)
Hello, I am new member there, I am using Visual Basic.net 2003 version and I am facing a problem.
Well I have a tab control on a form with two tabs.
I have a button in each tab and I want when the user clicks on it to be unable to select the other tab in the form, not the current tab.
I was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.