disabling tabpages swapping on a tabcontrol

  • Thread starter Thread starter Giulio Mastrosanti
  • Start date Start date
G

Giulio Mastrosanti

Hi all,
I would like in a tab control to temporarly disable the possibility for
the user to switch tabpage while some tasks are performed.

Is it possible?

Thanks for your answer,

Giulio
 
hook into the SelectedIndexChanged event and based on your
conditions set the selectedindex of the tabcontrol back to
the original tab if necessary
 
Hi Giulio,

Therefore is tabcontrol.enabled = false
(And all enabled properties of forms controls)

I hope this helps

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top