I have a tab control in a form, with several pages (tabs).
Is it possible to make a tab not clickable (and grey)?
"pageName.enable = FALSE" still allows the user to click on the tab (but the commands inside are disabled)
I havent tried this, but you could either set the tabname.visible=false (dont know if that is allowed) or in the onclick for the tab, create a bit of code that redirects them:
tab_onclick
if me.tab.enabled=false then
me.othercontrol.setfocus
end if
I did actually have this thing working...the naming convention for the tab is odd - I think you have to pass a reference for the clicked tab to the code, and check the .enabled against this, but I did get it working. My problem was where to logically re-direct them to...in the end I took it off, and told them that if all the controls for the tab were disabled, they could ignore it!
Ah...user training...the replacement for bulletproof coding!
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.