0

How to open a tabpanel on a event?

asked 2009-04-03 05:59:32 +0800

usatyait gravatar image usatyait
81 1 2

Hi friends
i just a problem with the tabbox .pLz help me
How to open a tab panel by calling any event on other tab panel in same tabbox...
Thanks

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2009-04-03 06:39:12 +0800

Rico gravatar image Rico
175 1 1 2

Hi,

I am not really sure what You mean by "calling any event on other tab panel", but for setting which tab should be open, You can use setSelectedIndex(int index) on the tabbox to which the tab panel belongs (which can be found by using getTabbox() on the tab panel).

/Rico

link publish delete flag offensive edit

answered 2009-04-03 07:40:04 +0800

usatyait gravatar image usatyait
81 1 2

Thanks Rico

i just have tow tabs
tab1 tab2
if i will click on a button in tab1 . then the tab2 should open . how can i do that


plz can u give a example code for this .......

link publish delete flag offensive edit

answered 2009-04-03 10:26:29 +0800

Rico gravatar image Rico
175 1 1 2

Please see the other post about opening tabs, there a combobox is used to change tab depending on what is selected...

/Rico

link publish delete flag offensive edit

answered 2009-04-03 13:00:58 +0800

usatyait gravatar image usatyait
81 1 2

Thanks Rico for ur reply
how can i write that in zscript?
Can u give the Sample code for the above problem plz

link publish delete flag offensive edit

answered 2009-04-03 13:08:03 +0800

usatyait gravatar image usatyait
81 1 2

Now it's working

thanks Soooo much Rico
take care

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-04-03 05:59:32 +0800

Seen: 222 times

Last updated: Apr 03 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More