Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Controls on tab that is not selected all have their visible property set to false
posted

Hi,

 I have a tab control that has 4 tabs.  There is a save button that only shows on the last tab.  Sometimes the user doesn't have permissions to save the record so we make the save button visible = false in some cases.

In the form closing event we inspect the value of the save buttons visible property to know if we even have to check for dirty since they can't save if the visible property is set to false.

 The problem is that if you are on any other tab than the 4th tab the save button's visible property will always be false.

 Is there a way around this issue?

 

Thanks

 Randy

Parents Reply Children
No Data