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.

Autosize height for a vertical line

8 posts in DataWindow Last posting was on 2009-01-13 23:20:42.0Z
Sharont Posted on 2009-01-13 13:39:26.0Z
Sender: 1aaa.496c985f.1804289383@sybase.com
From: Sharont
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Autosize height for a vertical line
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <496c998d.1ad6.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 13 Jan 2009 05:39:26 -0800
X-Trace: forums-1-dub 1231853966 10.22.241.41 (13 Jan 2009 05:39:26 -0800)
X-Original-Trace: 13 Jan 2009 05:39:26 -0800, 10.22.241.41
Lines: 10
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88576
Article PK: 417831

Using PB 11.5 & Windows Vista

I put the rowheight() function in the Y2 attribute of the
vertical line.

On the screen, the vertical line does not look smooth, tiny
gaps in the line. For fields that stretch for height, a
tiny portion of the second line is cut off.
However when I print the report, it looks perfect.
Anyway workaround for the screen appearance?


"Paul Horan[Sybase]" <phoran_remove Posted on 2009-01-13 14:28:29.0Z
From: "Paul Horan[Sybase]" <phoran_remove@remove_sybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <496c998d.1ad6.1681692777@sybase.com>
Subject: Re: Autosize height for a vertical line
Lines: 22
Organization: Sybase
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: <496ca50d@forums-1-dub>
Date: 13 Jan 2009 06:28:29 -0800
X-Trace: forums-1-dub 1231856909 10.22.241.152 (13 Jan 2009 06:28:29 -0800)
X-Original-Trace: 13 Jan 2009 06:28:29 -0800, vip152.sybase.com
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88578
Article PK: 417832

The effect you're seeing happens because the bottom of the detail band is at
0, and the bottom of the line is at 4, so there's a 4 PBU gap between
iterations of the line. Make the Y1 a negative number, so it extends
"below" the bottom of the detail band.

--
Paul Horan[Sybase]
paulhoran.pbdjmagazine.com

<Sharont> wrote in message news:496c998d.1ad6.1681692777@sybase.com...
> Using PB 11.5 & Windows Vista
>
> I put the rowheight() function in the Y2 attribute of the
> vertical line.
>
> On the screen, the vertical line does not look smooth, tiny
> gaps in the line. For fields that stretch for height, a
> tiny portion of the second line is cut off.
> However when I print the report, it looks perfect.
> Anyway workaround for the screen appearance?


Sharon Posted on 2009-01-13 14:35:45.0Z
Sender: 1aaa.496c985f.1804289383@sybase.com
From: Sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Autosize height for a vertical line
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <496ca6c1.1cd8.1681692777@sybase.com>
References: <496ca50d@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 13 Jan 2009 06:35:45 -0800
X-Trace: forums-1-dub 1231857345 10.22.241.41 (13 Jan 2009 06:35:45 -0800)
X-Original-Trace: 13 Jan 2009 06:35:45 -0800, 10.22.241.41
Lines: 26
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88579
Article PK: 417833

It doesn't seem to save when I change the Y1 from 0 to a -1,
it resets back to 0. Am I doing something wrong?

> The effect you're seeing happens because the bottom of the
> detail band is at 0, and the bottom of the line is at 4,
> so there's a 4 PBU gap between iterations of the line.
> Make the Y1 a negative number, so it extends "below" the
> bottom of the detail band.
>
> --
> Paul Horan[Sybase]
> paulhoran.pbdjmagazine.com
>
> <Sharont> wrote in message
> > news:496c998d.1ad6.1681692777@sybase.com... Using PB
> 11.5 & Windows Vista >
> > I put the rowheight() function in the Y2 attribute of
> > the vertical line.
> >
> > On the screen, the vertical line does not look smooth,
> > tiny gaps in the line. For fields that stretch for
> > height, a tiny portion of the second line is cut off.
> > However when I print the report, it looks perfect.
> > Anyway workaround for the screen appearance?
>
>


"Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_ Posted on 2009-01-13 14:49:43.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_@_teamsybase.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: Autosize height for a vertical line
References: <496ca50d@forums-1-dub> <496ca6c1.1cd8.1681692777@sybase.com>
In-Reply-To: <496ca6c1.1cd8.1681692777@sybase.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: <496caa07$2@forums-1-dub>
Date: 13 Jan 2009 06:49:43 -0800
X-Trace: forums-1-dub 1231858183 10.22.241.152 (13 Jan 2009 06:49:43 -0800)
X-Original-Trace: 13 Jan 2009 06:49:43 -0800, vip152.sybase.com
Lines: 34
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88581
Article PK: 417838

PB Units are much smaller than pixels. When you change the value, it
gets rounded to the closest value that coincides with a pixel. From
experience, I have found that a pixel is /ABOUT/ four PB units. (It
varies at times.) I'd suggest making the value vary enough to cover that
conversion... maybe -6 or even -16 just to be safe.

Sharon wrote:
> It doesn't seem to save when I change the Y1 from 0 to a -1,
> it resets back to 0. Am I doing something wrong?
>
>> The effect you're seeing happens because the bottom of the
>> detail band is at 0, and the bottom of the line is at 4,
>> so there's a 4 PBU gap between iterations of the line.
>> Make the Y1 a negative number, so it extends "below" the
>> bottom of the detail band.
>>
>> --
>> Paul Horan[Sybase]
>> paulhoran.pbdjmagazine.com
>>
>> <Sharont> wrote in message
>>> news:496c998d.1ad6.1681692777@sybase.com... Using PB
>> 11.5 & Windows Vista >
>>> I put the rowheight() function in the Y2 attribute of
>>> the vertical line.
>>>
>>> On the screen, the vertical line does not look smooth,
>>> tiny gaps in the line. For fields that stretch for
>>> height, a tiny portion of the second line is cut off.
>>> However when I print the report, it looks perfect.
>>> Anyway workaround for the screen appearance?
>>


Sharon Posted on 2009-01-13 15:10:54.0Z
Sender: 1aaa.496c985f.1804289383@sybase.com
From: Sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: -16 won't save Re: Autosize height for a vertical line
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <496caefe.1e05.1681692777@sybase.com>
References: <496caa07$2@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 13 Jan 2009 07:10:54 -0800
X-Trace: forums-1-dub 1231859454 10.22.241.41 (13 Jan 2009 07:10:54 -0800)
X-Original-Trace: 13 Jan 2009 07:10:54 -0800, 10.22.241.41
Lines: 43
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88585
Article PK: 417839

If I set it to -16, save it & re-open the datawindow the Y1
is set back to zero.
I've tried this with resizeable checked & resizeable
unchecked with the same results. Y1 reset back to zero.
Am I doing something wrong?

>

PB Units are much smaller than pixels. When you change the

> value, it gets rounded to the closest value that
> coincides with a pixel. From experience, I have found
> that a pixel is /ABOUT/ four PB units. (It varies at
> times.) I'd suggest making the value vary enough to cover
> that conversion... maybe -6 or even -16 just to be safe.
>
>
>
> Sharon wrote:
> > It doesn't seem to save when I change the Y1 from 0 to a
> > -1, it resets back to 0. Am I doing something wrong?
> >
> >> The effect you're seeing happens because the bottom of
> the >> detail band is at 0, and the bottom of the line is
> at 4, >> so there's a 4 PBU gap between iterations of the
> line. >> Make the Y1 a negative number, so it extends
> "below" the >> bottom of the detail band.
> >>
> >> --
> >> Paul Horan[Sybase]
> >> paulhoran.pbdjmagazine.com
> >>
> >> <Sharont> wrote in message
> >>> news:496c998d.1ad6.1681692777@sybase.com... Using PB
> >> 11.5 & Windows Vista >
> >>> I put the rowheight() function in the Y2 attribute of
> >>> the vertical line.
> >>>
> >>> On the screen, the vertical line does not look smooth,
> >>> tiny gaps in the line. For fields that stretch for
> >>> height, a tiny portion of the second line is cut off.
> >>> However when I print the report, it looks perfect.
> >>> Anyway workaround for the screen appearance?
> >>


"Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_ Posted on 2009-01-13 15:26:10.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <NO_SPAMMING_jason.fenter_@_teamsybase.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: -16 won't save Re: Autosize height for a vertical line
References: <496caa07$2@forums-1-dub> <496caefe.1e05.1681692777@sybase.com>
In-Reply-To: <496caefe.1e05.1681692777@sybase.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: <496cb292$1@forums-1-dub>
Date: 13 Jan 2009 07:26:10 -0800
X-Trace: forums-1-dub 1231860370 10.22.241.152 (13 Jan 2009 07:26:10 -0800)
X-Original-Trace: 13 Jan 2009 07:26:10 -0800, vip152.sybase.com
Lines: 45
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88586
Article PK: 417840

Maybe if you put the value as an expression for the Y1 property?

Sharon wrote:
> If I set it to -16, save it & re-open the datawindow the Y1
> is set back to zero.
> I've tried this with resizeable checked & resizeable
> unchecked with the same results. Y1 reset back to zero.
> Am I doing something wrong?
>
>
> PB Units are much smaller than pixels. When you change the
>> value, it gets rounded to the closest value that
>> coincides with a pixel. From experience, I have found
>> that a pixel is /ABOUT/ four PB units. (It varies at
>> times.) I'd suggest making the value vary enough to cover
>> that conversion... maybe -6 or even -16 just to be safe.
>>
>>
>>
>> Sharon wrote:
>>> It doesn't seem to save when I change the Y1 from 0 to a
>>> -1, it resets back to 0. Am I doing something wrong?
>>>
>>>> The effect you're seeing happens because the bottom of
>> the >> detail band is at 0, and the bottom of the line is
>> at 4, >> so there's a 4 PBU gap between iterations of the
>> line. >> Make the Y1 a negative number, so it extends
>> "below" the >> bottom of the detail band.
>>>> --
>>>> Paul Horan[Sybase]
>>>> paulhoran.pbdjmagazine.com
>>>>
>>>> <Sharont> wrote in message
>>>>> news:496c998d.1ad6.1681692777@sybase.com... Using PB
>>>> 11.5 & Windows Vista >
>>>>> I put the rowheight() function in the Y2 attribute of
>>>>> the vertical line.
>>>>>
>>>>> On the screen, the vertical line does not look smooth,
>>>>> tiny gaps in the line. For fields that stretch for
>>>>> height, a tiny portion of the second line is cut off.
>>>>> However when I print the report, it looks perfect.
>>>>> Anyway workaround for the screen appearance?


Sharon Posted on 2009-01-13 15:44:19.0Z
Sender: 1aaa.496c985f.1804289383@sybase.com
From: Sharon
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Re: -16 won't save Re: Autosize height for a vertical line
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <496cb6d3.1f1f.1681692777@sybase.com>
References: <496cb292$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 13 Jan 2009 07:44:19 -0800
X-Trace: forums-1-dub 1231861459 10.22.241.41 (13 Jan 2009 07:44:19 -0800)
X-Original-Trace: 13 Jan 2009 07:44:19 -0800, 10.22.241.41
Lines: 52
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88587
Article PK: 417843

Got it to save by using edit source & more importantly it
worked!!
thanks for your help!
Sharon

> Maybe if you put the value as an expression for the Y1
> property?
>
>
>
> Sharon wrote:
> > If I set it to -16, save it & re-open the datawindow the
> > Y1 is set back to zero.
> > I've tried this with resizeable checked & resizeable
> > unchecked with the same results. Y1 reset back to zero.
> > Am I doing something wrong?
> >
> >
> > PB Units are much smaller than pixels. When you change
> the >> value, it gets rounded to the closest value that
> >> coincides with a pixel. From experience, I have found
> >> that a pixel is /ABOUT/ four PB units. (It varies at
> >> times.) I'd suggest making the value vary enough to
> cover >> that conversion... maybe -6 or even -16 just to
> be safe. >>
> >>
> >>
> >> Sharon wrote:
> >>> It doesn't seem to save when I change the Y1 from 0 to
> a >>> -1, it resets back to 0. Am I doing something
> wrong? >>>
> >>>> The effect you're seeing happens because the bottom
> of >> the >> detail band is at 0, and the bottom of the
> line is >> at 4, >> so there's a 4 PBU gap between
> iterations of the >> line. >> Make the Y1 a negative
> number, so it extends >> "below" the >> bottom of the
> detail band. >>>> --
> >>>> Paul Horan[Sybase]
> >>>> paulhoran.pbdjmagazine.com
> >>>>
> >>>> <Sharont> wrote in message
> >>>>> news:496c998d.1ad6.1681692777@sybase.com... Using PB
> >>>> 11.5 & Windows Vista >
> >>>>> I put the rowheight() function in the Y2 attribute
> of >>>>> the vertical line.
> >>>>>
> >>>>> On the screen, the vertical line does not look
> smooth, >>>>> tiny gaps in the line. For fields that
> stretch for >>>>> height, a tiny portion of the second
> line is cut off. >>>>> However when I print the report, it
> looks perfect. >>>>> Anyway workaround for the screen
> appearance?


"Paul Horan[Sybase]" <phoran_remove Posted on 2009-01-13 23:20:42.0Z
From: "Paul Horan[Sybase]" <phoran_remove@remove_sybase.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <496ca50d@forums-1-dub> <496ca6c1.1cd8.1681692777@sybase.com>
Subject: Re: Autosize height for a vertical line
Lines: 36
Organization: Sybase
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
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: <496d21ca@forums-1-dub>
Date: 13 Jan 2009 15:20:42 -0800
X-Trace: forums-1-dub 1231888842 10.22.241.152 (13 Jan 2009 15:20:42 -0800)
X-Original-Trace: 13 Jan 2009 15:20:42 -0800, vip152.sybase.com
X-Authenticated-User: teamsybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:88593
Article PK: 417846

I always just dragged it and placed it there manually - not using the
property fields...

--
Paul Horan[Sybase]
paulhoran.pbdjmagazine.com

<Sharon> wrote in message news:496ca6c1.1cd8.1681692777@sybase.com...
> It doesn't seem to save when I change the Y1 from 0 to a -1,
> it resets back to 0. Am I doing something wrong?
>
>> The effect you're seeing happens because the bottom of the
>> detail band is at 0, and the bottom of the line is at 4,
>> so there's a 4 PBU gap between iterations of the line.
>> Make the Y1 a negative number, so it extends "below" the
>> bottom of the detail band.
>>
>> --
>> Paul Horan[Sybase]
>> paulhoran.pbdjmagazine.com
>>
>> <Sharont> wrote in message
>> > news:496c998d.1ad6.1681692777@sybase.com... Using PB
>> 11.5 & Windows Vista >
>> > I put the rowheight() function in the Y2 attribute of
>> > the vertical line.
>> >
>> > On the screen, the vertical line does not look smooth,
>> > tiny gaps in the line. For fields that stretch for
>> > height, a tiny portion of the second line is cut off.
>> > However when I print the report, it looks perfect.
>> > Anyway workaround for the screen appearance?
>>
>>