I am having some tabpanel troubles since 2.2.4.
Let me try to explain:
-I have a form
menu attached to db
menu.....db
menu only has 1 row for storing all kind of settings
-I use form
menu as a navigation form, on the left I have buttons, on the right-side I have a relationless tabpanel (with Taborientation = HIDE) that gets filled with other forms according to which button you press....suppose I want to see form
client_details....it is put in this relationless tabpanel
-on form
client_details I have certain parts that are re-used, for example a
title bar filled with someone's name and birthdate. So on form
client_details I have a tabpanel with
title bar with a relation
client_to_client
-
title bar is shown correctly when I am on form
client_details but from form
menu it only shows the
title bar once, but the second and third and so....it completely disappears
This problem also occurs elsewhere.....I also found that suppose
title bar is put in a tabpanel, together with other forms....it would reappear when you click on the tab on the tabpanel with
title bar .
The code I use to fill the tabpanel from menu:
- Code: Select all
elements.mainpage.removeTabAt(1);
elements.mainpage.addTab(forms[gotoform[elementNr][elementNrSub]],'',null,null,null,null);
In a previous version it worked like a charm.
Servoy Developer
Version R2 2.2.4-build 336
Java version 1.5.0_06-b05 (Windows 2000)