Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to reference a tabs tabpage other than by a number in the tab selectionchanging

2 posts in Powerscript Last posting was on 2009-12-22 06:19:27.0Z
rc Posted on 2009-12-21 23:13:37.0Z
From: "rc" <rcarrier@innsoftinc.com>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: How to reference a tabs tabpage other than by a number in the tab selectionchanging
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5843
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4b300121$1@forums-1-dub>
Date: 21 Dec 2009 15:13:37 -0800
X-Trace: forums-1-dub 1261437217 10.22.241.152 (21 Dec 2009 15:13:37 -0800)
X-Original-Trace: 21 Dec 2009 15:13:37 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27210
Article PK: 793615

Ok,

We have an application that uses a tab interface. Right now I'm coding in
the selectionchanged and selectionchanging event for an actual tab#. Every
time I need to add a new tab or re-arrange tab pages this seems to all break
and I have recode for the new tab page #'s.

I'm hoping that I doing something the wrong way that can be solved.

Any advice is appreciated


Thanks,

Richard Carrier


Jeremy Lakeman Posted on 2009-12-22 06:19:27.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.powerscript
Subject: Re: How to reference a tabs tabpage other than by a number in the tab selectionchanging
Date: Mon, 21 Dec 2009 22:19:27 -0800 (PST)
Organization: http://groups.google.com
Lines: 22
Message-ID: <010653e1-a442-4c67-9fe1-7201e31a2b15@k19g2000pro.googlegroups.com>
References: <4b300121$1@forums-1-dub>
NNTP-Posting-Host: 122.49.175.125
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1261462767 26888 127.0.0.1 (22 Dec 2009 06:19:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 22 Dec 2009 06:19:27 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k19g2000pro.googlegroups.com; posting-host=122.49.175.125; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!k19g2000pro.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.powerscript:27211
Article PK: 761766


On Dec 22, 9:13 am, "rc" <rcarr...@innsoftinc.com> wrote:
> Ok,
>
> We have an application that uses a tab interface. Right now I'm coding in
> the selectionchanged and selectionchanging event for an actual tab#. Every
> time I need to add a new tab or re-arrange tab pages this seems to all break
> and I have recode for the new tab page #'s.
>
> I'm hoping that I doing something the wrong way that can be solved.
>
> Any advice is appreciated
>
> Thanks,
>
> Richard Carrier

Are you inserting the tab pages statically into the window?
just use;
this.tab_name.tabpage_name