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.

PFC Resize (2007.09 build for PB11)

7 posts in DataWindow Last posting was on 2008-11-11 08:41:48.0Z
O. Steine Posted on 2008-11-07 12:13:26.0Z
From: "O. Steine" <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: PFC Resize (2007.09 build for PB11)
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <491430e6@forums-1-dub>
Date: 7 Nov 2008 04:13:26 -0800
X-Trace: forums-1-dub 1226060006 10.22.241.152 (7 Nov 2008 04:13:26 -0800)
X-Original-Trace: 7 Nov 2008 04:13:26 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88126
Article PK: 417382

I have a strange problem with use of the PFC resize service.

When I set resize of a control to:
this.inv_resize.of_register(control, 0, 0, 50, 100)

I expect that the bottom of the control is at the bottom of the window (as
it is before any resize is done).
When a resize event triggers it creates a 'padding' between the bottom of
the control and the bottom of the window.

This padding (the size of it) is constant while resizing the window in
different sizes.

Have anyone else experienced this problem?
This happens on migrated PB7 source (in PB7 the resize is working as
expected without the extra padding).


Chris Pollach Posted on 2008-11-07 12:26:27.0Z
From: "Chris Pollach" <cpollach@travel-net.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <491430e6@forums-1-dub>
Subject: Re: PFC Resize (2007.09 build for PB11)
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <491433f3$1@forums-1-dub>
Date: 7 Nov 2008 04:26:27 -0800
X-Trace: forums-1-dub 1226060787 10.22.241.152 (7 Nov 2008 04:26:27 -0800)
X-Original-Trace: 7 Nov 2008 04:26:27 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88128
Article PK: 417386

O;

Did you download the PB 11.x PFC layer?

--
Regards ... Chris
ISUG - NA RUG Director
http://chrispollach.pbdjmagazine.com

"O. Steine" <osteine@gmail.com> wrote in message
news:491430e6@forums-1-dub...
>I have a strange problem with use of the PFC resize service.
>
> When I set resize of a control to:
> this.inv_resize.of_register(control, 0, 0, 50, 100)
>
> I expect that the bottom of the control is at the bottom of the window (as
> it is before any resize is done).
> When a resize event triggers it creates a 'padding' between the bottom of
> the control and the bottom of the window.
>
> This padding (the size of it) is constant while resizing the window in
> different sizes.
>
> Have anyone else experienced this problem?
> This happens on migrated PB7 source (in PB7 the resize is working as
> expected without the extra padding).
>


O. Steine Posted on 2008-11-10 11:55:32.0Z
From: "O. Steine" <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <491430e6@forums-1-dub> <491433f3$1@forums-1-dub>
Subject: Re: PFC Resize (2007.09 build for PB11)
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49182134@forums-1-dub>
Date: 10 Nov 2008 03:55:32 -0800
X-Trace: forums-1-dub 1226318132 10.22.241.152 (10 Nov 2008 03:55:32 -0800)
X-Original-Trace: 10 Nov 2008 03:55:32 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88138
Article PK: 417391

Chris,

I downloaded the pfc11.zip file 2007.09.25 at CodeExchange.
The problem is related to a w_sheet window.


"Chris Pollach" <cpollach@travel-net.com> skrev i melding
news:491433f3$1@forums-1-dub...

> O;
>
> Did you download the PB 11.x PFC layer?
>
> --
> Regards ... Chris
> ISUG - NA RUG Director
> http://chrispollach.pbdjmagazine.com
>
>
> "O. Steine" <osteine@gmail.com> wrote in message
> news:491430e6@forums-1-dub...
>>I have a strange problem with use of the PFC resize service.
>>
>> When I set resize of a control to:
>> this.inv_resize.of_register(control, 0, 0, 50, 100)
>>
>> I expect that the bottom of the control is at the bottom of the window
>> (as it is before any resize is done).
>> When a resize event triggers it creates a 'padding' between the bottom of
>> the control and the bottom of the window.
>>
>> This padding (the size of it) is constant while resizing the window in
>> different sizes.
>>
>> Have anyone else experienced this problem?
>> This happens on migrated PB7 source (in PB7 the resize is working as
>> expected without the extra padding).
>>
>
>


Jeremy Lakeman Posted on 2008-11-10 12:35:58.0Z
From: Jeremy Lakeman <jeremy.lakeman@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: PFC Resize (2007.09 build for PB11)
Date: Mon, 10 Nov 2008 04:35:58 -0800 (PST)
Organization: http://groups.google.com
Lines: 39
Message-ID: <aa431469-7565-4366-86b6-b6dab72c5b58@f37g2000pri.googlegroups.com>
References: <491430e6@forums-1-dub> <491433f3$1@forums-1-dub> <49182134@forums-1-dub>
NNTP-Posting-Host: 219.90.172.220
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1226320559 13685 127.0.0.1 (10 Nov 2008 12:35:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 10 Nov 2008 12:35:59 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: f37g2000pri.googlegroups.com; posting-host=219.90.172.220; posting-account=euaBtgoAAAC_vDxfsxmpMKlBxHaHpmRS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,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!f37g2000pri.googlegroups.com!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88141
Article PK: 417397


On Nov 10, 9:55 pm, "O. Steine" <oste...@gmail.com> wrote:
> Chris,
>
> I downloaded the pfc11.zip file 2007.09.25 at CodeExchange.
> The problem is related to a w_sheet window.
>
> "Chris Pollach" <cpoll...@travel-net.com> skrev i meldingnews:491433f3$1@forums-1-dub...
>
> > O;
>
> > Did you download the PB 11.x PFC layer?
>
> > --
> > Regards ... Chris
> > ISUG - NA RUG Director
> >http://chrispollach.pbdjmagazine.com
>
> > "O. Steine" <oste...@gmail.com> wrote in message
> >news:491430e6@forums-1-dub...
> >>I have a strange problem with use of the PFC resize service.
>
> >> When I set resize of a control to:
> >> this.inv_resize.of_register(control, 0, 0, 50, 100)
>
> >> I expect that the bottom of the control is at the bottom of the window
> >> (as it is before any resize is done).
> >> When a resize event triggers it creates a 'padding' between the bottom of
> >> the control and the bottom of the window.
>
> >> This padding (the size of it) is constant while resizing the window in
> >> different sizes.
>
> >> Have anyone else experienced this problem?
> >> This happens on migrated PB7 source (in PB7 the resize is working as
> >> expected without the extra padding).

Are you opening your sheet with the original! argument?


O. Steine Posted on 2008-11-11 07:23:32.0Z
From: "O. Steine" <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <491430e6@forums-1-dub> <491433f3$1@forums-1-dub> <49182134@forums-1-dub> <aa431469-7565-4366-86b6-b6dab72c5b58@f37g2000pri.googlegroups.com>
Subject: Re: PFC Resize (2007.09 build for PB11)
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <491932f4$1@forums-1-dub>
Date: 10 Nov 2008 23:23:32 -0800
X-Trace: forums-1-dub 1226388212 10.22.241.152 (10 Nov 2008 23:23:32 -0800)
X-Original-Trace: 10 Nov 2008 23:23:32 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88151
Article PK: 417405

"Jeremy Lakeman" <jeremy.lakeman@gmail.com> skrev i melding
news:aa431469-7565-4366-86b6-b6dab72c5b58@f37g2000pri.googlegroups.com...

Are you opening your sheet with the original! argument?

Yes, I am


O. Steine Posted on 2008-11-11 08:12:53.0Z
From: "O. Steine" <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <491430e6@forums-1-dub> <491433f3$1@forums-1-dub> <49182134@forums-1-dub> <aa431469-7565-4366-86b6-b6dab72c5b58@f37g2000pri.googlegroups.com> <491932f4$1@forums-1-dub>
Subject: Re: PFC Resize (2007.09 build for PB11)
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <49193e85$1@forums-1-dub>
Date: 11 Nov 2008 00:12:53 -0800
X-Trace: forums-1-dub 1226391173 10.22.241.152 (11 Nov 2008 00:12:53 -0800)
X-Original-Trace: 11 Nov 2008 00:12:53 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88152
Article PK: 417406

"O. Steine" <osteine@gmail.com> skrev i melding
news:491932f4$1@forums-1-dub...

>
> "Jeremy Lakeman" <jeremy.lakeman@gmail.com> skrev i melding
> news:aa431469-7565-4366-86b6-b6dab72c5b58@f37g2000pri.googlegroups.com...
>
> Are you opening your sheet with the original! argument?
>
> Yes, I am
>

The added 'padding' is created in the function of_Resize (pfc_n_cst_resize)
line 240:

ldrg_cntrl.Resize (inv_registered[li_cnt].r_width,
inv_registered[li_cnt].r_height)

What happens is that on the first resize event, the control registered for
the resize service gets the height reduced.
After the initial decrease in height the resize is ok, but the 'padding' is
constant.

control -
window =

Before resize:
=========================
= -------------------------------- =
= - - =
= -------------------------------- =
=========================

After resize:
=========================
= -------------------------------- =
= - - =
= -------------------------------- =
= =
=========================


O. Steine Posted on 2008-11-11 08:41:48.0Z
From: "O. Steine" <osteine@gmail.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <491430e6@forums-1-dub> <491433f3$1@forums-1-dub> <49182134@forums-1-dub> <aa431469-7565-4366-86b6-b6dab72c5b58@f37g2000pri.googlegroups.com> <491932f4$1@forums-1-dub> <49193e85$1@forums-1-dub>
Subject: Re: PFC Resize (2007.09 build for PB11)
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4919454c@forums-1-dub>
Date: 11 Nov 2008 00:41:48 -0800
X-Trace: forums-1-dub 1226392908 10.22.241.152 (11 Nov 2008 00:41:48 -0800)
X-Original-Trace: 11 Nov 2008 00:41:48 -0800, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88153
Article PK: 417407

"O. Steine" <osteine@gmail.com> skrev i melding
news:49193e85$1@forums-1-dub...
>

Adding the following code resolved my problem:

inv_resize.of_setorigsize(this.workspacewidth( ), this.workspaceheight( ))