You can set event handler for tab selection. If it returns false then tab selection will not be changed.
Go to the dhtmlxTabbar main page or Close this page