Hi all i am a newbie in development
I have a window application in vb.net in VS 2003 there is a tabcontrol which has three tab pages.
i want that user was not able to change tabpages by clicking tabcontrol rahter than it is done by clicking button on tabpages how it is possible
please help me
thanks in advance
Report post as abusive
rak4u
0
Newbie Poster
Recommended Answers
Jump to PostHold current TabPageIndex in integral variable, and once the click done on any TabPage set the TabControl SelectedIndex = the integral value
tabControl1.SelectedIndex = integral variable;
Jump to PostYou can also do it in the event handler of the TabControl.SelectedIndexChanged
Jump to PostTab-control is supposed to work by user selecting any tab he or she wants to and in any order he/she wants to select it. This is not to say that your approach is "wrong".
But like you noticed you ended up thinking about using IMessageFilter.PreFilterMessage. If your not familiar …
All 10 Replies
Ramy Mahrous
401
Postaholic
Featured Poster
Ramy Mahrous
401
Postaholic
Featured Poster
rak4u
0
Newbie Poster
rak4u
0
Newbie Poster
Teme64
215
Veteran Poster
rak4u
0
Newbie Poster
tomshin
0
Newbie Poster
Teme64
215
Veteran Poster
rak4u
0
Newbie Poster
Ramy Mahrous
401
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.