Source language: Translate to:

plugin "tabbed dialog" from IgaSoft - Multiple tab

Plug-ins and utilities of interest to NeoBook authors

Moderator: Neosoft Support

plugin "tabbed dialog" from IgaSoft - Multiple tab

Postby Skarabäus » Sat Sep 09, 2006 6:30 am

Dear IgaSoft,
dear Neobookers,

i try to work with two registers on one page with your very helpful plugin "tabbed dialog".

My problem is that i can work with only one of both what means if i press the show-button of one register so i can't show the 2nd in pressing the other show-button. I only can show the 2nd register when i before press the close-button of the 1st register. i can't find any mistakes in my code.

So below this is the code i use.
Hope that someone can help me in this.

Many thanks, Skarabäus

Code in Book/Properties/Subroutines:
:TabChange
If "[TabSel]" "=" "Contact"
Else
EndIf
If "[TabSel]" "=" "Neobook"
Else
EndIf
If "[TabSel]" "=" "PlugIn"
Else
EndIf
If "[TabSel]" "=" "Computer"
Else
EndIf
If "[TabSel]" "=" "Further Information"
Else
EndIf
If "[TabSel]" "=" "Multimedia"
Else
EndIf
If "[TabSel]" "=" "Approach"
Else
EndIf
Return

:register_queries
If "[TabSel2]" "=" "Drinks"
Else
EndIf
If "[TabSel2]" "=" "Meals"
Else
EndIf
Return

Code in Page properties/Actions/Page Enter:
GoSub "register_queries"
ShowTabbedDialog "True" "Top" "tsTabs" "Drinks,Meals" "Rectangle6" "[TabSel2]" "register_queries"
GoSub "TabChange"
ShowTabbedDialog "True" "Top" "tsTabs" "Contact,NeoBook,Computer,PlugIn,Further Information,Multimedia,Approach" "Rectangle4" "[TabSel]" "TabChange"

Code in Show-Button of register_queries:
GoSub "register_queries"
ShowTabbedDialog "True" "Top" "tsTabs" "Drinks,Meals" "Rectangle6" "[TabSel2]" "register_queries"

Code in Show-Button of TabChange:
GoSub "TabChange"
ShowTabbedDialog "True" "Top" "tsTabs" "Contact,NeoBook,Computer,PlugIn,Further Information,Multimedia,Approach" "Rectangle4" "[TabSel]" "TabChange"[/url]
Skarabäus
User avatar
Skarabäus
 
Posts: 37
Joined: Mon May 15, 2006 4:31 am
Location: Germany, Ostfildern

Postby Skarabäus » Sat Sep 09, 2006 10:48 pm

issam1979:

that's right.
i put them out to avoid presenting too much code. but this is not the problem. to understand what i mean i will give you the test.pub for download:

http://www.visualvisit.de/testtabbeddialog.pub

there you will find two register tabs. one left, one right with show and close buttons. as i already told at now it is not possible to show both register tabs at the same time. Any other alternatives are very welcome.
Skarabäus
User avatar
Skarabäus
 
Posts: 37
Joined: Mon May 15, 2006 4:31 am
Location: Germany, Ostfildern

Postby HPW » Sat Sep 09, 2006 11:33 pm

Since IGAsoft has gone I would not use unsupported plugins.

You may use the tabcontrol of hpwUtility.
I make your sample with this pub:

Code: Select all
code deleted after he get it.  :!:


You may also have a look at hpwTabControl.pub which comes with the plugin.

PS: I will delete this sample code later to not bloat this forum. :!:
Last edited by HPW on Sun Sep 10, 2006 10:22 pm, edited 1 time in total.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Sun Sep 10, 2006 1:26 am

... it must be realy early in Germany good morning ...


Yep, not so early but a nice sunny sunday.
Time to get into the sun (or making some more wizards for existing plugins, current work counter is on 34 for the next one).

PS: Less plugin size come from the used runtime-packer.

Leif has used an innovative approach in the time he was active on plugins.
His concept of doing wizards in external DLL was nice, but gets now obsolete by NB5 NBR feature.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Skarabäus » Sun Sep 10, 2006 2:44 am

issam1979:
hpw:

thank you very much for your help and spending time in my problem.
hpw, thank you for your offer using your plugin and your code. the plugin ist great and helps a lot.

i'm proud to be a member of the neoboker family!! :oops:
Skarabäus
User avatar
Skarabäus
 
Posts: 37
Joined: Mon May 15, 2006 4:31 am
Location: Germany, Ostfildern

Postby HPW » Sun Sep 10, 2006 10:24 pm

I'm proud to be a member of the neoboker family!!


So as a child of the family, how about updating your profile and set a location (or other info, as you like). So the family can see where the childs come from!
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Skarabäus » Mon Sep 11, 2006 3:30 am

Hans-Peter:
Neobooker-family:

i'm proudly to inform you that neobooker-baby "Skarabäus" has updated his profile! :shock:
Skarabäus
User avatar
Skarabäus
 
Posts: 37
Joined: Mon May 15, 2006 4:31 am
Location: Germany, Ostfildern

Postby HPW » Mon Sep 11, 2006 3:42 am

Surprise!

Ein deutscher Neobooker im englischen Forum!

:wink:
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany


Return to NeoBook Plug-Ins and Utilities

Who is online

Users browsing this forum: No registered users and 1 guest