Jump to content

Prevent switching tabsheets


bbm

Recommended Posts

Hi,

I have a PageControl with 2 TabSheets. Data can be edited in both tab sheets. If data have been changed, I would like to display a message that they must first be saved, or that switching to the other tab sheet is prevented. How can I prevent switching?

Best regards

Link to comment
Share on other sites

4 hours ago, bbm said:

I have a PageControl with 2 TabSheets. Data can be edited in both tab sheets. If data have been changed, I would like to display a message that they must first be saved, or that switching to the other tab sheet is prevented. How can I prevent switching?

Hello,

This post may help you:

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...