Hi All,
I want to create the many parent-tabs with sub-tabs xdialog. The Sub-Tabs are overlaped with previous variables and
not able to get refresh or remove it.
tab_and_tab2.jpg
The first tab,"Top" and it's Sub-Tabs is fine.
I want to create the many parent-tabs with sub-tabs xdialog. The Sub-Tabs are overlaped with previous variables and
not able to get refresh or remove it.
Code:
dim dlg_body as c dim dlg_event as c dlg_body = <<%dlg% {background=gray} {xmargin=4,4} {region} I have two tabs for parent; ;; {tab=%S=Subtle%Updown!Page_changed} {pane=top} {region1} {lf}; want to see the child tabs at inside of the parent tabs; {lf}; {tab=%S=tabband;j=t%page1} {pane=Address} {region2} {lf}; First name:| [.32firstname] ; Last name:| [.32lastname] ; Address:| [.32address1] ; City:| [.32City] ; State:| [State] ; Zip:| [Zip]; {endregion2}; {pane=Payment} {region2} {lf}; Credit card:| [.32card] ; Number:| [.32number] ; Expiration :| [.32expiration] ; {endregion2}; {endtab}; {endregion1}; {pane=botton} {lf}; {region1} want to see the child tabs and tabs are shown at botton,; under the parent tabs; {lf}; {region4} I do not have the Tab variables at here. How to refresh it? ; {endregion4}; {endregion1}; {endtab}; {lf}; space at botton; {endregion}; %dlg% dim dlg_body_main as c dlg_body_main = <<%dlg% {region} {wrap=100} Place the tab buttons at the top, bottom, left or right of the tab object. {lf}; {endregion}; %dlg% + dlg_body + <<%dlg% ; {lf}; <View example using Tabband Style!tabband> <View example using SubtleTab style!subtle>; %dlg% dlg_event = <<%code% if a_dlg_button ="page_changed" then ui_dlg_refresh("Advanced Tab Examples") a_dlg_button ="" end if if a_dlg_button = "tabband" then a_dlg_button = "" dim dlg_body2 as c dlg_body2 = stritran(dlg_body,"S=styled","S=tabband") ui_dlg_box("TabBand Examples",dlg_body2) end if if a_dlg_button = "subtle" then a_dlg_button = "" dim dlg_body2 as c dlg_body2 = stritran(dlg_body,"S=styled","S=subtletab") ui_dlg_box("SubtleTab Examples",dlg_body2) end if %code% ui_dlg_box("Advanced Tab Examples",dlg_body_main,dlg_event)
The first tab,"Top" and it's Sub-Tabs is fine.
Comment