Try making all the controls in that tab NOT VISIBLE and I think that the tab itself will disappear (according to the Application Developers Guide).
The tab will not disappear.
The tab only disappears if you make the property "PageNames" of the tab blank for that page.
Eg. PageNames=Page1,Page2,Page3,,Page5 => the fourth page you wil not see.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
So, in other words, I can't hide only one tab. What I wanted was to show the last tab in tab control only when some conditions were met.
Removing tab from PageNames property doesn't cut it
I know.
I have 4 tabs a they have about 30 controls. I wanted to add another control with some specific (rarely used) controls. Depending on one control I would show that last tab.
Creating another Tab control (with 4 + 1 new tab) would duplicate the côde that I allready have for the existing controls. Right?
Maybe if you give the controls on the 2 tabs the same name, it is possible that you don't have to do it. But I wouldn't trust it anyway.
Also, maintaining the form later gets a lot more complicated.
The best thing you can do is just hide the controls you don't need. If there is a blank tab, ... well so be it.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
When relating one table to another, if you want to delete something in one table a automatically delete the same thing in the other you have to put that in côde, right?
Comments
Try making all the controls in that tab NOT VISIBLE and I think that the tab itself will disappear (according to the Application Developers Guide).
Arhontis
https://forum.mibuso.com/search
Maybe I'm doing something wrong?
The tab only disappears if you make the property "PageNames" of the tab blank for that page.
Eg. PageNames=Page1,Page2,Page3,,Page5 => the fourth page you wil not see.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Removing tab from PageNames property doesn't cut it
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I have 4 tabs a they have about 30 controls. I wanted to add another control with some specific (rarely used) controls. Depending on one control I would show that last tab.
Creating another Tab control (with 4 + 1 new tab) would duplicate the côde that I allready have for the existing controls. Right?
...I wanted to add another TAB...
Also, maintaining the form later gets a lot more complicated.
The best thing you can do is just hide the controls you don't need. If there is a blank tab, ... well so be it.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Thx for help.
I have one (only one? ) more question:
When relating one table to another, if you want to delete something in one table a automatically delete the same thing in the other you have to put that in côde, right?
Arhontis
https://forum.mibuso.com/search