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.

Control array for a window in not the same as in scrip

7 posts in Objects Last posting was on 2008-06-07 07:25:02.0Z
Hamouda Posted on 2008-05-20 11:43:20.0Z
From: Hamouda <ahmed.hammoda@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Control array for a window in not the same as in scrip
Date: Tue, 20 May 2008 04:43:20 -0700 (PDT)
Organization: http://groups.google.com
Lines: 15
Message-ID: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com>
NNTP-Posting-Host: 86.96.227.71
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1211283801 11535 127.0.0.1 (20 May 2008 11:43:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 20 May 2008 11:43:21 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e53g2000hsa.googlegroups.com; posting-host=86.96.227.71; posting-account=mNvspAoAAACtGu5XCtFtZpbLf-IcPu7B
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feeder.news-service.com!postnews.google.com!e53g2000hsa.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9695
Article PK: 736834

Hi to all

I have litte problem which is the no of control list in powerbuilder
painter in no the same as in script
to be more specefic I using a window which is inherted from another
window,
the last one contains a tab control not in first one
this tab control come in control list for the painter but when Iam
trying to access this tab control from script
using control property I found that it's not listed !
I donn't know why ?

Can any one help me on this >>

Thank you all


Bruce Armstrong [TeamSybase] Posted on 2008-05-20 13:40:12.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Control array for a window in not the same as in scrip
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <h5l534ppaov5hqqk0eri78on0jj4kmm0ma@4ax.com>
References: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 20 May 2008 06:40:12 -0700
X-Trace: forums-1-dub 1211290812 10.22.241.152 (20 May 2008 06:40:12 -0700)
X-Original-Trace: 20 May 2008 06:40:12 -0700, vip152.sybase.com
Lines: 24
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9696
Article PK: 736836

What version of PB? There was a point in time in which the OpenTab
function did not update the tab control array. The most recent docs
indicate it does.

On Tue, 20 May 2008 04:43:20 -0700 (PDT), Hamouda

<ahmed.hammoda@gmail.com> wrote:

>Hi to all
>
>I have litte problem which is the no of control list in powerbuilder
>painter in no the same as in script
>to be more specefic I using a window which is inherted from another
>window,
>the last one contains a tab control not in first one
>this tab control come in control list for the painter but when Iam
>trying to access this tab control from script
>using control property I found that it's not listed !
>I donn't know why ?
>
>Can any one help me on this >>
>
>Thank you all


Hamouda Posted on 2008-05-26 07:56:27.0Z
From: Hamouda <ahmed.hammoda@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Control array for a window in not the same as in scrip
Date: Mon, 26 May 2008 00:56:27 -0700 (PDT)
Organization: http://groups.google.com
Lines: 31
Message-ID: <6fe7b104-ed75-4cb8-8417-b773c8d0b38b@i76g2000hsf.googlegroups.com>
References: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com> <h5l534ppaov5hqqk0eri78on0jj4kmm0ma@4ax.com>
NNTP-Posting-Host: 213.42.23.71
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1211788587 10746 127.0.0.1 (26 May 2008 07:56:27 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 26 May 2008 07:56:27 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i76g2000hsf.googlegroups.com; posting-host=213.42.23.71; posting-account=mNvspAoAAACtGu5XCtFtZpbLf-IcPu7B
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Path: forums-1-dub!forums-master!newssvr.sybase.com!news-sj-1.sprintlink.net!news-peer1.sprintlink.net!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!feeder.news-service.com!postnews.google.com!i76g2000hsf.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9705
Article PK: 736835

On May 20, 5:40 pm, "Bruce Armstrong [TeamSybase]"

<NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> What version of PB?  There was a point in time in which the OpenTab
> function did not update the tab control array.  The most recent docs
> indicate it does.
>
> On Tue, 20 May 2008 04:43:20 -0700 (PDT), Hamouda
>
>
>
> <ahmed.hamm...@gmail.com> wrote:
> >Hi to all
>
> >I have litte problem which is the no of control list in powerbuilder
> >painter in no the same as in script
> >to be more specefic I using a window which is inherted from another
> >window,
> >the last one contains a tab control not in first one
> >this tab control come in control list for the painter but when Iam
> >trying to access this tab control from script
> >using control property I found that it's not listed !
> >I donn't know why ?
>
> >Can any one help me on this >>
>
> >Thank you all- Hide quoted text -
>
> - Show quoted text -

Iam using PB Version 10.5 built 4523 ,
about open tab control How can I update the control array ?


Bruce Armstrong [TeamSybase] Posted on 2008-05-26 15:02:47.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Control array for a window in not the same as in scrip
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
Message-ID: <68kl341k7s5trbim25vhe1v9ru2gtickj1@4ax.com>
References: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com> <h5l534ppaov5hqqk0eri78on0jj4kmm0ma@4ax.com> <6fe7b104-ed75-4cb8-8417-b773c8d0b38b@i76g2000hsf.googlegroups.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 26 May 2008 08:02:47 -0700
X-Trace: forums-1-dub 1211814167 10.22.241.152 (26 May 2008 08:02:47 -0700)
X-Original-Trace: 26 May 2008 08:02:47 -0700, vip152.sybase.com
Lines: 40
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9706
Article PK: 736840

The version you are using should be doing it correctly. Do you see
the tab control at all? If you are trying to access it through a
variable of the type of the ancestor, it won't know about the tab.

On Mon, 26 May 2008 00:56:27 -0700 (PDT), Hamouda

<ahmed.hammoda@gmail.com> wrote:

>On May 20, 5:40 pm, "Bruce Armstrong [TeamSybase]"
><NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
>> What version of PB?  There was a point in time in which the OpenTab
>> function did not update the tab control array.  The most recent docs
>> indicate it does.
>>
>> On Tue, 20 May 2008 04:43:20 -0700 (PDT), Hamouda
>>
>>
>>
>> <ahmed.hamm...@gmail.com> wrote:
>> >Hi to all
>>
>> >I have litte problem which is the no of control list in powerbuilder
>> >painter in no the same as in script
>> >to be more specefic I using a window which is inherted from another
>> >window,
>> >the last one contains a tab control not in first one
>> >this tab control come in control list for the painter but when Iam
>> >trying to access this tab control from script
>> >using control property I found that it's not listed !
>> >I donn't know why ?
>>
>> >Can any one help me on this >>
>>
>> >Thank you all- Hide quoted text -
>>
>> - Show quoted text -
>
>Iam using PB Version 10.5 built 4523 ,
>about open tab control How can I update the control array ?


Hamouda Posted on 2008-05-27 10:29:21.0Z
From: Hamouda <ahmed.hammoda@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Control array for a window in not the same as in scrip
Date: Tue, 27 May 2008 03:29:21 -0700 (PDT)
Organization: http://groups.google.com
Lines: 61
Message-ID: <51631947-4bda-40e0-ac90-2cb3336fc3c5@k30g2000hse.googlegroups.com>
References: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com> <h5l534ppaov5hqqk0eri78on0jj4kmm0ma@4ax.com> <6fe7b104-ed75-4cb8-8417-b773c8d0b38b@i76g2000hsf.googlegroups.com> <68kl341k7s5trbim25vhe1v9ru2gtickj1@4ax.com>
NNTP-Posting-Host: 213.42.23.71
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1211884161 21897 127.0.0.1 (27 May 2008 10:29:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 27 May 2008 10:29:21 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: k30g2000hse.googlegroups.com; posting-host=213.42.23.71; posting-account=mNvspAoAAACtGu5XCtFtZpbLf-IcPu7B
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 1.1.4322),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!k30g2000hse.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9707
Article PK: 736837

On May 26, 7:02 pm, "Bruce Armstrong [TeamSybase]"

<NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> The version you are using should be doing it correctly.  Do you see
> the tab control at all?  If you are trying to access it through a
> variable of the type of the ancestor, it won't know about the tab.
>
> On Mon, 26 May 2008 00:56:27 -0700 (PDT), Hamouda
>
>
>
> <ahmed.hamm...@gmail.com> wrote:
> >On May 20, 5:40 pm, "Bruce Armstrong [TeamSybase]"
> ><NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> >> What version of PB?  There was a point in time in which the OpenTab
> >> function did not update the tab control array.  The most recent docs
> >> indicate it does.
>
> >> On Tue, 20 May 2008 04:43:20 -0700 (PDT), Hamouda
>
> >> <ahmed.hamm...@gmail.com> wrote:
> >> >Hi to all
>
> >> >I have litte problem which is the no of control list in powerbuilder
> >> >painter in no the same as in script
> >> >to be more specefic I using a window which is inherted from another
> >> >window,
> >> >the last one contains a tab control not in first one
> >> >this tab control come in control list for the painter but when Iam
> >> >trying to access this tab control from script
> >> >using control property I found that it's not listed !
> >> >I donn't know why ?
>
> >> >Can any one help me on this >>
>
> >> >Thank you all- Hide quoted text -
>
> >> - Show quoted text -
>
> >Iam using PB Version 10.5 built 4523 ,
> >about open tab control How can I update the control array ?- Hide quoted text -
>
> - Show quoted text -

see my code is like the following:

choose case control[i].typeof()

case statictext!
// some processing
case tab!
// some processing

end choose

this is the code in my ansector & this code are in loop for all window
controls
all controls are listed except the tab control however my tab is
located on the inherted window
this is confusing ! . all controls -- no problem ,,,,,,,,, but tab
control is not listed .... why?


Jeremy Lakeman Posted on 2008-05-27 14:50:50.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Control array for a window in not the same as in scrip
References: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com> <h5l534ppaov5hqqk0eri78on0jj4kmm0ma@4ax.com> <6fe7b104-ed75-4cb8-8417-b773c8d0b38b@i76g2000hsf.googlegroups.com> <68kl341k7s5trbim25vhe1v9ru2gtickj1@4ax.com> <51631947-4bda-40e0-ac90-2cb3336fc3c5@k30g2000hse.googlegroups.com>
In-Reply-To: <51631947-4bda-40e0-ac90-2cb3336fc3c5@k30g2000hse.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <483c1fca$1@forums-1-dub>
Date: 27 May 2008 07:50:50 -0700
X-Trace: forums-1-dub 1211899850 10.22.241.152 (27 May 2008 07:50:50 -0700)
X-Original-Trace: 27 May 2008 07:50:50 -0700, vip152.sybase.com
Lines: 59
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9708
Article PK: 736838


Hamouda wrote:
> On May 26, 7:02 pm, "Bruce Armstrong [TeamSybase]"
> <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
>> The version you are using should be doing it correctly. Do you see
>> the tab control at all? If you are trying to access it through a
>> variable of the type of the ancestor, it won't know about the tab.
>>
>> On Mon, 26 May 2008 00:56:27 -0700 (PDT), Hamouda
>>
>>
>>
>> <ahmed.hamm...@gmail.com> wrote:
>>> On May 20, 5:40 pm, "Bruce Armstrong [TeamSybase]"
>>> <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
>>>> What version of PB? There was a point in time in which the OpenTab
>>>> function did not update the tab control array. The most recent docs
>>>> indicate it does.
>>>> On Tue, 20 May 2008 04:43:20 -0700 (PDT), Hamouda
>>>> <ahmed.hamm...@gmail.com> wrote:
>>>>> Hi to all
>>>>> I have litte problem which is the no of control list in powerbuilder
>>>>> painter in no the same as in script
>>>>> to be more specefic I using a window which is inherted from another
>>>>> window,
>>>>> the last one contains a tab control not in first one
>>>>> this tab control come in control list for the painter but when Iam
>>>>> trying to access this tab control from script
>>>>> using control property I found that it's not listed !
>>>>> I donn't know why ?
>>>>> Can any one help me on this >>
>>>>> Thank you all- Hide quoted text -
>>>> - Show quoted text -
>>> Iam using PB Version 10.5 built 4523 ,
>>> about open tab control How can I update the control array ?- Hide quoted text -
>> - Show quoted text -
>
> see my code is like the following:
>
> choose case control[i].typeof()
>
> case statictext!
> // some processing
> case tab!
> // some processing
>
> end choose
>
> this is the code in my ansector & this code are in loop for all window
> controls
> all controls are listed except the tab control however my tab is
> located on the inherted window
> this is confusing ! . all controls -- no problem ,,,,,,,,, but tab
> control is not listed .... why?

The tab pages will not be listed directly in the window's control array,
but in the tab control's control array.


Hamouda Posted on 2008-06-07 07:25:02.0Z
From: Hamouda <ahmed.hammoda@gmail.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Control array for a window in not the same as in scrip
Date: Sat, 7 Jun 2008 00:25:02 -0700 (PDT)
Organization: http://groups.google.com
Lines: 64
Message-ID: <c149b7bf-ec0c-43de-8c58-46e24090d40b@m3g2000hsc.googlegroups.com>
References: <fe3950a6-313a-4b29-a670-ccc3dd2ca784@e53g2000hsa.googlegroups.com> <h5l534ppaov5hqqk0eri78on0jj4kmm0ma@4ax.com> <6fe7b104-ed75-4cb8-8417-b773c8d0b38b@i76g2000hsf.googlegroups.com> <68kl341k7s5trbim25vhe1v9ru2gtickj1@4ax.com> <51631947-4bda-40e0-ac90-2cb3336fc3c5@k30g2000hse.googlegroups.com> <483c1fca$1@forums-1-dub>
NNTP-Posting-Host: 86.96.227.71
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1212823502 17456 127.0.0.1 (7 Jun 2008 07:25:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 7 Jun 2008 07:25:02 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m3g2000hsc.googlegroups.com; posting-host=86.96.227.71; posting-account=mNvspAoAAACtGu5XCtFtZpbLf-IcPu7B
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 1.1.4322),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!m3g2000hsc.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9716
Article PK: 736848


On May 27, 6:50 pm, Jeremy Lakeman <jeremy.lake...@gmail.com> wrote:
> Hamouda wrote:
> > On May 26, 7:02 pm, "Bruce Armstrong [TeamSybase]"
> > <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> >> The version you are using should be doing it correctly.  Do you see
> >> the tab control at all?  If you are trying to access it through a
> >> variable of the type of the ancestor, it won't know about the tab.
>
> >> On Mon, 26 May 2008 00:56:27 -0700 (PDT), Hamouda
>
> >> <ahmed.hamm...@gmail.com> wrote:
> >>> On May 20, 5:40 pm, "Bruce Armstrong [TeamSybase]"
> >>> <NOCANSPAM_bruce.armstr...@teamsybase.com> wrote:
> >>>> What version of PB?  There was a point in time in which the OpenTab
> >>>> function did not update the tab control array.  The most recent docs
> >>>> indicate it does.
> >>>> On Tue, 20 May 2008 04:43:20 -0700 (PDT), Hamouda
> >>>> <ahmed.hamm...@gmail.com> wrote:
> >>>>> Hi to all
> >>>>> I have litte problem which is the no of control list in powerbuilder
> >>>>> painter in no the same as in script
> >>>>> to be more specefic I using a window which is inherted from another
> >>>>> window,
> >>>>> the last one contains a tab control not in first one
> >>>>> this tab control come in control list for the painter but when Iam
> >>>>> trying to access this tab control from script
> >>>>> using control property I found that it's not listed !
> >>>>> I donn't know why ?
> >>>>> Can any one help me on this >>
> >>>>> Thank you all- Hide quoted text -
> >>>> - Show quoted text -
> >>> Iam using PB Version 10.5 built 4523 ,
> >>> about open tab control How can I update the control array ?- Hide quoted text -
> >> - Show quoted text -
>
> > see my code is like the following:
>
> > choose case control[i].typeof()
>
> >            case statictext!
> >                    // some processing
> >            case tab!
> >                    // some processing
>
> > end choose
>
> > this is the code in my ansector & this code are in loop for all window
> > controls
> > all controls are listed except the tab control however my tab is
> > located on the inherted window
> > this is confusing ! . all controls -- no problem ,,,,,,,,, but tab
> > control is not listed .... why?
>
> The tab pages will not be listed directly in the window's control array,
> but in the tab control's control array.- Hide quoted text -
>
> - Show quoted text -

You are right , but why the tab control itself is not listed in the
window controls .......??