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.

Window sizes.

8 posts in Objects Last posting was on 2006-06-16 07:55:39.0Z
Alex Castillo Posted on 2006-06-09 16:52:56.0Z
From: "Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Window sizes.
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: cpe-24-221-80-131.mi.sprintbbd.net
X-Original-NNTP-Posting-Host: cpe-24-221-80-131.mi.sprintbbd.net
Message-ID: <4489a768@forums-1-dub>
Date: 9 Jun 2006 09:52:56 -0700
X-Trace: forums-1-dub 1149871976 24.221.80.131 (9 Jun 2006 09:52:56 -0700)
X-Original-Trace: 9 Jun 2006 09:52:56 -0700, cpe-24-221-80-131.mi.sprintbbd.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8881
Article PK: 736081

Hello...

Using Powerbuilder 7.0

I noticed that window sizes on the FormPainter are different to window sizes
at run time... I confirmed so by placing a rectangle which borders are at
the very edge of the form at design time... at run time it may 'loose' its
borders. The exact amount of 'powerbuilderunits' lost vary for windows which
has the 'Resizable' attribute on or off.

Can you confirm this? Why this happens? Is there any way to fix that? Why
Powerbuilder do not uses just pixels?

Thanks.


Jason 'Bug' Fenter Posted on 2006-06-12 12:35:04.0Z
From: Jason 'Bug' Fenter <fenterbug@hotmail.com>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Window sizes.
References: <4489a768@forums-1-dub>
In-Reply-To: <4489a768@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp-70-251-79-2.dsl.rcsntx.swbell.net
X-Original-NNTP-Posting-Host: ppp-70-251-79-2.dsl.rcsntx.swbell.net
Message-ID: <448d5f78@forums-1-dub>
Date: 12 Jun 2006 05:35:04 -0700
X-Trace: forums-1-dub 1150115704 70.251.79.2 (12 Jun 2006 05:35:04 -0700)
X-Original-Trace: 12 Jun 2006 05:35:04 -0700, ppp-70-251-79-2.dsl.rcsntx.swbell.net
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8883
Article PK: 736082


Alex Castillo wrote:
> Hello...
>
> Using Powerbuilder 7.0
>
> I noticed that window sizes on the FormPainter are different to window sizes
> at run time... I confirmed so by placing a rectangle which borders are at
> the very edge of the form at design time... at run time it may 'loose' its
> borders. The exact amount of 'powerbuilderunits' lost vary for windows which
> has the 'Resizable' attribute on or off.
>
> Can you confirm this? Why this happens? Is there any way to fix that? Why
> Powerbuilder do not uses just pixels?
>
> Thanks.

It's annoying, yes. You'll also find that once you have things sized
"just right", you can switch to Windows Classic style and it will be all
wrong again. That leads me to believe that it's related to the size of
the caption bar and window borders. You can code a resize service (or
use/steal the PFC's) to alleviate some of the worries.

I agree, though, that what you see in the painter should match the
window's client area at run time.


Philip Salgannik Posted on 2006-06-12 13:31:39.0Z
From: "Philip Salgannik" <philemaxNOSPAM@comcast.net>
Newsgroups: sybase.public.powerbuilder.objects
References: <4489a768@forums-1-dub> <448d5f78@forums-1-dub>
Subject: Re: Window sizes.
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-Original-NNTP-Posting-Host: c-24-218-138-208.hsd1.ma.comcast.net
Message-ID: <448d6be7$1@forums-2-dub>
X-Original-Trace: 12 Jun 2006 06:28:07 -0700, c-24-218-138-208.hsd1.ma.comcast.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 12 Jun 2006 06:28:09 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 12 Jun 2006 06:31:39 -0700
X-Trace: forums-1-dub 1150119099 10.22.108.75 (12 Jun 2006 06:31:39 -0700)
X-Original-Trace: 12 Jun 2006 06:31:39 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8884
Article PK: 736083

The painter is a painter. It paints according to what your system is telling
it to paint when you are painting :-)

"Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
news:448d5f78@forums-1-dub...
> Alex Castillo wrote:
>> Hello...
>>
>> Using Powerbuilder 7.0
>>
>> I noticed that window sizes on the FormPainter are different to window
>> sizes at run time... I confirmed so by placing a rectangle which borders
>> are at the very edge of the form at design time... at run time it may
>> 'loose' its borders. The exact amount of 'powerbuilderunits' lost vary
>> for windows which has the 'Resizable' attribute on or off.
>>
>> Can you confirm this? Why this happens? Is there any way to fix that? Why
>> Powerbuilder do not uses just pixels?
>>
>> Thanks.
>
> It's annoying, yes. You'll also find that once you have things sized "just
> right", you can switch to Windows Classic style and it will be all wrong
> again. That leads me to believe that it's related to the size of the
> caption bar and window borders. You can code a resize service (or
> use/steal the PFC's) to alleviate some of the worries.
>
> I agree, though, that what you see in the painter should match the
> window's client area at run time.


Jason 'Bug' Fenter Posted on 2006-06-12 23:42:19.0Z
From: Jason 'Bug' Fenter <fenterbug@hotmail.com>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Window sizes.
References: <4489a768@forums-1-dub> <448d5f78@forums-1-dub> <448d6be7$1@forums-2-dub>
In-Reply-To: <448d6be7$1@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ppp-70-251-79-2.dsl.rcsntx.swbell.net
X-Original-NNTP-Posting-Host: ppp-70-251-79-2.dsl.rcsntx.swbell.net
Message-ID: <448dfbdb@forums-1-dub>
Date: 12 Jun 2006 16:42:19 -0700
X-Trace: forums-1-dub 1150155739 70.251.79.2 (12 Jun 2006 16:42:19 -0700)
X-Original-Trace: 12 Jun 2006 16:42:19 -0700, ppp-70-251-79-2.dsl.rcsntx.swbell.net
Lines: 36
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8886
Article PK: 736086

Maybe so. But then, aren't I trying to paint the client area of the
window? Why should that client area change sizes when you update the
size of the caption bar? (Just making a point here.)

Philip Salgannik wrote:
> The painter is a painter. It paints according to what your system is telling
> it to paint when you are painting :-)
>
> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
> news:448d5f78@forums-1-dub...
>> Alex Castillo wrote:
>>> Hello...
>>>
>>> Using Powerbuilder 7.0
>>>
>>> I noticed that window sizes on the FormPainter are different to window
>>> sizes at run time... I confirmed so by placing a rectangle which borders
>>> are at the very edge of the form at design time... at run time it may
>>> 'loose' its borders. The exact amount of 'powerbuilderunits' lost vary
>>> for windows which has the 'Resizable' attribute on or off.
>>>
>>> Can you confirm this? Why this happens? Is there any way to fix that? Why
>>> Powerbuilder do not uses just pixels?
>>>
>>> Thanks.
>> It's annoying, yes. You'll also find that once you have things sized "just
>> right", you can switch to Windows Classic style and it will be all wrong
>> again. That leads me to believe that it's related to the size of the
>> caption bar and window borders. You can code a resize service (or
>> use/steal the PFC's) to alleviate some of the worries.
>>
>> I agree, though, that what you see in the painter should match the
>> window's client area at run time.
>
>


Alex Castillo Posted on 2006-06-14 15:19:51.0Z
From: "Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4489a768@forums-1-dub> <448d5f78@forums-1-dub> <448d6be7$1@forums-2-dub> <448dfbdb@forums-1-dub>
Subject: Re: Window sizes.
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-Original-NNTP-Posting-Host: cpe-24-221-80-131.mi.sprintbbd.net
Message-ID: <44902838@forums-2-dub>
X-Original-Trace: 14 Jun 2006 08:16:08 -0700, cpe-24-221-80-131.mi.sprintbbd.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Jun 2006 08:16:09 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Jun 2006 08:19:51 -0700
X-Trace: forums-1-dub 1150298391 10.22.108.75 (14 Jun 2006 08:19:51 -0700)
X-Original-Trace: 14 Jun 2006 08:19:51 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8891
Article PK: 736090

... any way, the form's title bar and border aren't part of the client
area... are they?

"Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
news:448dfbdb@forums-1-dub...
> Maybe so. But then, aren't I trying to paint the client area of the
> window? Why should that client area change sizes when you update the size
> of the caption bar? (Just making a point here.)
>
>
> Philip Salgannik wrote:
>> The painter is a painter. It paints according to what your system is
>> telling it to paint when you are painting :-)
>>
>> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
>> news:448d5f78@forums-1-dub...
>>> Alex Castillo wrote:
>>>> Hello...
>>>>
>>>> Using Powerbuilder 7.0
>>>>
>>>> I noticed that window sizes on the FormPainter are different to window
>>>> sizes at run time... I confirmed so by placing a rectangle which
>>>> borders are at the very edge of the form at design time... at run time
>>>> it may 'loose' its borders. The exact amount of 'powerbuilderunits'
>>>> lost vary for windows which has the 'Resizable' attribute on or off.
>>>>
>>>> Can you confirm this? Why this happens? Is there any way to fix that?
>>>> Why Powerbuilder do not uses just pixels?
>>>>
>>>> Thanks.
>>> It's annoying, yes. You'll also find that once you have things sized
>>> "just right", you can switch to Windows Classic style and it will be all
>>> wrong again. That leads me to believe that it's related to the size of
>>> the caption bar and window borders. You can code a resize service (or
>>> use/steal the PFC's) to alleviate some of the worries.
>>>
>>> I agree, though, that what you see in the painter should match the
>>> window's client area at run time.
>>


Tyler Cruse Posted on 2006-06-16 03:16:56.0Z
From: "Tyler Cruse" <tcruse@medteam.net>
Newsgroups: sybase.public.powerbuilder.objects
References: <4489a768@forums-1-dub> <448d5f78@forums-1-dub> <448d6be7$1@forums-2-dub> <448dfbdb@forums-1-dub> <44902838@forums-2-dub>
Subject: Re: Window sizes.
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.2663
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663
X-RFC2646: Format=Flowed; Response
X-Original-NNTP-Posting-Host: mail.medteam.net
Message-ID: <449221bf$1@forums-2-dub>
X-Original-Trace: 15 Jun 2006 20:13:03 -0700, mail.medteam.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 15 Jun 2006 20:13:05 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 15 Jun 2006 20:16:56 -0700
X-Trace: forums-1-dub 1150427816 10.22.108.75 (15 Jun 2006 20:16:56 -0700)
X-Original-Trace: 15 Jun 2006 20:16:56 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8892
Article PK: 736092

Even worse on a Tablet PC where the "keyboard accross the botton" also
causes sizes to change and not return.

"Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com> wrote in message
news:44902838@forums-2-dub...
> ... any way, the form's title bar and border aren't part of the client
> area... are they?
>
> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
> news:448dfbdb@forums-1-dub...
>> Maybe so. But then, aren't I trying to paint the client area of the
>> window? Why should that client area change sizes when you update the size
>> of the caption bar? (Just making a point here.)
>>
>>
>> Philip Salgannik wrote:
>>> The painter is a painter. It paints according to what your system is
>>> telling it to paint when you are painting :-)
>>>
>>> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
>>> news:448d5f78@forums-1-dub...
>>>> Alex Castillo wrote:
>>>>> Hello...
>>>>>
>>>>> Using Powerbuilder 7.0
>>>>>
>>>>> I noticed that window sizes on the FormPainter are different to window
>>>>> sizes at run time... I confirmed so by placing a rectangle which
>>>>> borders are at the very edge of the form at design time... at run time
>>>>> it may 'loose' its borders. The exact amount of 'powerbuilderunits'
>>>>> lost vary for windows which has the 'Resizable' attribute on or off.
>>>>>
>>>>> Can you confirm this? Why this happens? Is there any way to fix that?
>>>>> Why Powerbuilder do not uses just pixels?
>>>>>
>>>>> Thanks.
>>>> It's annoying, yes. You'll also find that once you have things sized
>>>> "just right", you can switch to Windows Classic style and it will be
>>>> all wrong again. That leads me to believe that it's related to the size
>>>> of the caption bar and window borders. You can code a resize service
>>>> (or use/steal the PFC's) to alleviate some of the worries.
>>>>
>>>> I agree, though, that what you see in the painter should match the
>>>> window's client area at run time.
>>>
>


Papadomichelakis Ioannis Posted on 2006-06-16 07:55:39.0Z
From: "Papadomichelakis Ioannis" <dont.spam.me.please.papadomichelakis@logismos.gr>
Newsgroups: sybase.public.powerbuilder.objects
References: <4489a768@forums-1-dub> <448d5f78@forums-1-dub> <448d6be7$1@forums-2-dub> <448dfbdb@forums-1-dub> <44902838@forums-2-dub>
Subject: Re: Window sizes.
Lines: 52
Organization: Logismos s.a.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: logismos1.the.forthnet.gr
X-Original-NNTP-Posting-Host: logismos1.the.forthnet.gr
Message-ID: <449263fb$1@forums-1-dub>
Date: 16 Jun 2006 00:55:39 -0700
X-Trace: forums-1-dub 1150444539 213.16.183.1 (16 Jun 2006 00:55:39 -0700)
X-Original-Trace: 16 Jun 2006 00:55:39 -0700, logismos1.the.forthnet.gr
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8893
Article PK: 736094

But it is part of the window. or not?

I wonder how this is supported by other than PB environments.

"Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com> wrote in message
news:44902838@forums-2-dub...
> ... any way, the form's title bar and border aren't part of the client
> area... are they?
>
> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
> news:448dfbdb@forums-1-dub...
>> Maybe so. But then, aren't I trying to paint the client area of the
>> window? Why should that client area change sizes when you update the size
>> of the caption bar? (Just making a point here.)
>>
>>
>> Philip Salgannik wrote:
>>> The painter is a painter. It paints according to what your system is
>>> telling it to paint when you are painting :-)
>>>
>>> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
>>> news:448d5f78@forums-1-dub...
>>>> Alex Castillo wrote:
>>>>> Hello...
>>>>>
>>>>> Using Powerbuilder 7.0
>>>>>
>>>>> I noticed that window sizes on the FormPainter are different to window
>>>>> sizes at run time... I confirmed so by placing a rectangle which
>>>>> borders are at the very edge of the form at design time... at run time
>>>>> it may 'loose' its borders. The exact amount of 'powerbuilderunits'
>>>>> lost vary for windows which has the 'Resizable' attribute on or off.
>>>>>
>>>>> Can you confirm this? Why this happens? Is there any way to fix that?
>>>>> Why Powerbuilder do not uses just pixels?
>>>>>
>>>>> Thanks.
>>>> It's annoying, yes. You'll also find that once you have things sized
>>>> "just right", you can switch to Windows Classic style and it will be
>>>> all wrong again. That leads me to believe that it's related to the size
>>>> of the caption bar and window borders. You can code a resize service
>>>> (or use/steal the PFC's) to alleviate some of the worries.
>>>>
>>>> I agree, though, that what you see in the painter should match the
>>>> window's client area at run time.
>>>
>


Alex Castillo Posted on 2006-06-14 15:18:20.0Z
From: "Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4489a768@forums-1-dub> <448d5f78@forums-1-dub> <448d6be7$1@forums-2-dub> <448dfbdb@forums-1-dub>
Subject: Re: Window sizes.
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-Original-NNTP-Posting-Host: cpe-24-221-80-131.mi.sprintbbd.net
Message-ID: <449027dc@forums-2-dub>
X-Original-Trace: 14 Jun 2006 08:14:36 -0700, cpe-24-221-80-131.mi.sprintbbd.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 14 Jun 2006 08:14:37 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 14 Jun 2006 08:18:20 -0700
X-Trace: forums-1-dub 1150298300 10.22.108.75 (14 Jun 2006 08:18:20 -0700)
X-Original-Trace: 14 Jun 2006 08:18:20 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8890
Article PK: 736091

I agree with Jason...

"Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
news:448dfbdb@forums-1-dub...
> Maybe so. But then, aren't I trying to paint the client area of the
> window? Why should that client area change sizes when you update the size
> of the caption bar? (Just making a point here.)
>
>
> Philip Salgannik wrote:
>> The painter is a painter. It paints according to what your system is
>> telling it to paint when you are painting :-)
>>
>> "Jason 'Bug' Fenter" <fenterbug@hotmail.com> wrote in message
>> news:448d5f78@forums-1-dub...
>>> Alex Castillo wrote:
>>>> Hello...
>>>>
>>>> Using Powerbuilder 7.0
>>>>
>>>> I noticed that window sizes on the FormPainter are different to window
>>>> sizes at run time... I confirmed so by placing a rectangle which
>>>> borders are at the very edge of the form at design time... at run time
>>>> it may 'loose' its borders. The exact amount of 'powerbuilderunits'
>>>> lost vary for windows which has the 'Resizable' attribute on or off.
>>>>
>>>> Can you confirm this? Why this happens? Is there any way to fix that?
>>>> Why Powerbuilder do not uses just pixels?
>>>>
>>>> Thanks.
>>> It's annoying, yes. You'll also find that once you have things sized
>>> "just right", you can switch to Windows Classic style and it will be all
>>> wrong again. That leads me to believe that it's related to the size of
>>> the caption bar and window borders. You can code a resize service (or
>>> use/steal the PFC's) to alleviate some of the worries.
>>>
>>> I agree, though, that what you see in the painter should match the
>>> window's client area at run time.
>>