This topic is locked

Working with tabs

5/25/2011 9:09:59 AM
PHPRunner General questions
C
coops author

Hi,
I'm a newbie when it comes to PHPRunner. I'm using Runner 5.3 build 7474. I'm having a problem hiding tabs that are generated in a popup window.
Basically I have a main table view that displays all information in a database table. This is an inline view that has the three icons on the far left side for "add", "edit", and "view". When I click the "view" icon, a popup window appears with user information in the main area and a tab layout just below that details different items owned by that particular user. If the user does not own certain items, I wish to hide that tab from view. For example, the user can own a house, car, or aircraft. If the user does not own an aircraft then I want to hide the tab titled 'Aircraft'. I consulted the manual under "How to work with tabs" and tried using that instruction within the OnPageLoad() event but I keep getting the error: "pagObj.tabs['Aircraft'] undefined" where 'Aircraft' is the name of the tab group that I am working with.
I've tried many things and have succumbed to the fact that I just don't understand what's going on. Any help would be great.

Sergey Kornilov admin 5/25/2011

coops,
I guess we need to see your application in order to find what is wrong. Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.