The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Controlling the population of 'More Tabs' in a MainView
Posted: 02 Apr 06 9:24 AM
|
I have created a main view using the salesorder table as the base table. I also created 2 data forms one I am using in the detail pane and the other is in the tab pane. My problem is that the “more tabs” is populate with both these forms regardless of wether I included them or not in the Default Tabs property of the Tabs Pane. In addition a tab for the system form: Add Edit Sales Order is automatically present as a tab on the tab pane. The help indicates the “more tabs” is automatically populated with forms that are bound to the base table of the main view but can I determine what populates the “more tabs” and can I remove/hide the tab for the Add Edit form?
Cheers Tim from Oz.
|
|
|
|
Re: Controlling the population of 'More Tabs' in a MainView
Posted: 03 Apr 06 1:21 AM
|
sorry for my english i use this script... this script is hide a tab in "More tabs" if text in field txtType=1 (for example)... "Personal:TestVisible" - my new form
Dim objMV set objMV = Application.MainViews.ActiveView if txtType.Text = "1" then Application.BasicFunctions.SetTabVisibleProperty "Personal:TestVisible",false objMV.MoreTabsVisible = true objMV.MiddleViewVisible = false else Application.BasicFunctions.SetTabVisibleProperty "Personal:TestVisible",true objMV.MoreTabsVisible = true objMV.MiddleViewVisible = true end if |
|
|
|
Re: Controlling the population of 'More Tabs' in a MainView
Posted: 03 Apr 06 3:58 AM
|
fiogf49gjkf0d Thanks Vladimir,
I can work with that
But I may also have something deeper going on. In Architect under Tools> Client Options > Main View I can select my main view I created from the pkl but when I select a form to add to the avaliable tabs list it doesn't add to the avaliable tabs list. I am a little lost the cause of this or how to correct.
Cheers Tim from Oz
|
|
|
|
Re: Controlling the population of 'More Tabs' in a MainView
Posted: 03 Apr 06 6:01 PM
|
fiogf49gjkf0d There are a few was to hide these objects from the More Tabs tab. The first method is simply to set the plugin "Family" to System. This will prevent the form from being displayed in More Tabs.
So, the MainView and the "Detail" view should be saved in System. The "Tab" for should be saved in the "Main View"'s family.
To automatically include the Tab view on the MainView then open the MainView in the Architect and select the TabsPane section. On the Properties list, click on the DefaultTabs property elipsis button and select the appropriate tabs.
Hope this helps, Steve Meyers
|
|
|
| |
|