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.

Big sized Window.

6 posts in Objects Last posting was on 2006-07-25 14:40:49.0Z
Alex Castillo Posted on 2006-07-20 19:27:36.0Z
From: "Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Big sized Window.
Lines: 10
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: 12.173.207.194
X-Original-NNTP-Posting-Host: 12.173.207.194
Message-ID: <44bfd928$1@forums-1-dub>
Date: 20 Jul 2006 12:27:36 -0700
X-Trace: forums-1-dub 1153423656 12.173.207.194 (20 Jul 2006 12:27:36 -0700)
X-Original-Trace: 20 Jul 2006 12:27:36 -0700, 12.173.207.194
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8958
Article PK: 736156

Hello...

I defined a form bigger than the screen... I notice that anyway, when I Open
the form, it is resized so it fits on the screen.

Does anyone knows how to avoid that resizing?

Thanks..!


Brad Wery [TeamSybase] Posted on 2006-07-20 21:11:28.0Z
From: "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Big sized Window.
References: <44bfd928$1@forums-1-dub>
In-Reply-To: <44bfd928$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <44bfefcd$1@forums-2-dub>
X-Original-Trace: 20 Jul 2006 14:04:13 -0700, ugg10.unitedgrain.ca
Lines: 20
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 20 Jul 2006 14:04:15 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 20 Jul 2006 14:11:28 -0700
X-Trace: forums-1-dub 1153429888 10.22.108.75 (20 Jul 2006 14:11:28 -0700)
X-Original-Trace: 20 Jul 2006 14:11:28 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8960
Article PK: 736157

Alex,

It could be a number of things.

What do you have the windows WindowState property set to? How do you
open the window? Do you open the window in an MDI frame?

Brad

Alex Castillo wrote:
> Hello...
>
> I defined a form bigger than the screen... I notice that anyway, when I Open
> the form, it is resized so it fits on the screen.
>
> Does anyone knows how to avoid that resizing?
>
> Thanks..!
>
>


Alex Castillo Posted on 2006-07-21 12:55:45.0Z
From: "Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com>
Newsgroups: sybase.public.powerbuilder.objects
References: <44bfd928$1@forums-1-dub> <44bfefcd$1@forums-2-dub>
Subject: Re: Big sized Window.
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 12.173.207.194
X-Original-NNTP-Posting-Host: 12.173.207.194
Message-ID: <44c0ced1$1@forums-1-dub>
Date: 21 Jul 2006 05:55:45 -0700
X-Trace: forums-1-dub 1153486545 12.173.207.194 (21 Jul 2006 05:55:45 -0700)
X-Original-Trace: 21 Jul 2006 05:55:45 -0700, 12.173.207.194
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8961
Article PK: 736158

Brad,

Window state is 'normal!'
Window is launched using OpenWithParm(frmName,lsStringParameter)
Window is not open on a MDI frame, its Window Type is 'main!'

Any idea?

Thanks..!

"Brad Wery [TeamSybase]" <bradweryatagricoreunited.com> wrote in message
news:44bfefcd$1@forums-2-dub...
> Alex,
>
> It could be a number of things.
>
> What do you have the windows WindowState property set to? How do you open
> the window? Do you open the window in an MDI frame?
>
> Brad
>
> Alex Castillo wrote:
>> Hello...
>>
>> I defined a form bigger than the screen... I notice that anyway, when I
>> Open the form, it is resized so it fits on the screen.
>>
>> Does anyone knows how to avoid that resizing?
>>
>> Thanks..!


Brad Wery [TeamSybase] Posted on 2006-07-21 13:12:06.0Z
From: "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Big sized Window.
References: <44bfd928$1@forums-1-dub> <44bfefcd$1@forums-2-dub> <44c0ced1$1@forums-1-dub>
In-Reply-To: <44c0ced1$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ugg10.unitedgrain.ca
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <44c0d2a6$1@forums-1-dub>
Date: 21 Jul 2006 06:12:06 -0700
X-Trace: forums-1-dub 1153487526 165.23.247.49 (21 Jul 2006 06:12:06 -0700)
X-Original-Trace: 21 Jul 2006 06:12:06 -0700, ugg10.unitedgrain.ca
Lines: 45
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8963
Article PK: 736160

I was able to reproduce this problem. It appears to be a feature. It
looks like there is a maximum width and a maximum height. You will see
that this is true if you try to resize the window with your mouse.

I guess the next logical question would be, why are you doing this? I
can't see why you would want a window to be bigger than the screen?

Brad

Alex Castillo wrote:
> Brad,
>
> Window state is 'normal!'
> Window is launched using OpenWithParm(frmName,lsStringParameter)
> Window is not open on a MDI frame, its Window Type is 'main!'
>
> Any idea?
>
> Thanks..!
>
> "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com> wrote in message
> news:44bfefcd$1@forums-2-dub...
>
>>Alex,
>>
>>It could be a number of things.
>>
>>What do you have the windows WindowState property set to? How do you open
>>the window? Do you open the window in an MDI frame?
>>
>>Brad
>>
>>Alex Castillo wrote:
>>
>>>Hello...
>>>
>>>I defined a form bigger than the screen... I notice that anyway, when I
>>>Open the form, it is resized so it fits on the screen.
>>>
>>>Does anyone knows how to avoid that resizing?
>>>
>>>Thanks..!
>
>
>


Alex Castillo Posted on 2006-07-25 13:59:29.0Z
From: "Alex Castillo" <klmAlexCast_SlwMx@HotMail.Com>
Newsgroups: sybase.public.powerbuilder.objects
References: <44bfd928$1@forums-1-dub> <44bfefcd$1@forums-2-dub> <44c0ced1$1@forums-1-dub> <44c0d2a6$1@forums-1-dub>
Subject: Re: Big sized Window.
Lines: 59
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: 12.173.207.194
Message-ID: <44c621f2$1@forums-2-dub>
X-Original-Trace: 25 Jul 2006 06:51:46 -0700, 12.173.207.194
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 25 Jul 2006 06:51:49 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 25 Jul 2006 06:59:29 -0700
X-Trace: forums-1-dub 1153835969 10.22.108.75 (25 Jul 2006 06:59:29 -0700)
X-Original-Trace: 25 Jul 2006 06:59:29 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8978
Article PK: 736175

Brad,

This is the main window of an application which is so big it only fits on a
1280x1024 screen. However, this window has several sections, and there is a
check box for each section which allow to hide it making the window shorter.

What I would like to have, is an app which runs normal on a 1280x1024 screen
and, when it runs on a 1024x768, gives the user the option to hide some
sections... but I need it to start at its full size. Any idea?

Thanks...

"Brad Wery [TeamSybase]" <bradweryatagricoreunited.com> wrote in message
news:44c0d2a6$1@forums-1-dub...
>I was able to reproduce this problem. It appears to be a feature. It looks
>like there is a maximum width and a maximum height. You will see that this
>is true if you try to resize the window with your mouse.
>
> I guess the next logical question would be, why are you doing this? I
> can't see why you would want a window to be bigger than the screen?
>
> Brad
>
> Alex Castillo wrote:
>> Brad,
>>
>> Window state is 'normal!'
>> Window is launched using OpenWithParm(frmName,lsStringParameter)
>> Window is not open on a MDI frame, its Window Type is 'main!'
>>
>> Any idea?
>>
>> Thanks..!
>>
>> "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com> wrote in message
>> news:44bfefcd$1@forums-2-dub...
>>
>>>Alex,
>>>
>>>It could be a number of things.
>>>
>>>What do you have the windows WindowState property set to? How do you open
>>>the window? Do you open the window in an MDI frame?
>>>
>>>Brad
>>>
>>>Alex Castillo wrote:
>>>
>>>>Hello...
>>>>
>>>>I defined a form bigger than the screen... I notice that anyway, when I
>>>>Open the form, it is resized so it fits on the screen.
>>>>
>>>>Does anyone knows how to avoid that resizing?
>>>>
>>>>Thanks..!
>>
>>


Brad Wery [TeamSybase] Posted on 2006-07-25 14:40:49.0Z
From: "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Big sized Window.
References: <44bfd928$1@forums-1-dub> <44bfefcd$1@forums-2-dub> <44c0ced1$1@forums-1-dub> <44c0d2a6$1@forums-1-dub> <44c621f2$1@forums-2-dub>
In-Reply-To: <44c621f2$1@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ugg10.unitedgrain.ca
X-Original-NNTP-Posting-Host: ugg10.unitedgrain.ca
Message-ID: <44c62d71$1@forums-1-dub>
Date: 25 Jul 2006 07:40:49 -0700
X-Trace: forums-1-dub 1153838449 165.23.247.49 (25 Jul 2006 07:40:49 -0700)
X-Original-Trace: 25 Jul 2006 07:40:49 -0700, ugg10.unitedgrain.ca
Lines: 81
X-Authenticated-User: TeamSybase
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8979
Article PK: 736176

What you could do is dynamically display scroll bars if the window is
sized to small.

We have some windows in a few of our applications that must be a certain
size (larger than what can be seen in 800x600 mode). In the resize event
of the window we check to see if the new width and height are less than
the original width and height. If so we display the appropriate scroll bar.

Another option would be to resize your controls when the window resizes
(e.g. PFC resize service).

Let us know if you need more information or other ideas.

Good Luck,

Brad

Alex Castillo wrote:
> Brad,
>
> This is the main window of an application which is so big it only fits on a
> 1280x1024 screen. However, this window has several sections, and there is a
> check box for each section which allow to hide it making the window shorter.
>
> What I would like to have, is an app which runs normal on a 1280x1024 screen
> and, when it runs on a 1024x768, gives the user the option to hide some
> sections... but I need it to start at its full size. Any idea?
>
> Thanks...
>
> "Brad Wery [TeamSybase]" <bradweryatagricoreunited.com> wrote in message
> news:44c0d2a6$1@forums-1-dub...
>
>>I was able to reproduce this problem. It appears to be a feature. It looks
>>like there is a maximum width and a maximum height. You will see that this
>>is true if you try to resize the window with your mouse.
>>
>>I guess the next logical question would be, why are you doing this? I
>>can't see why you would want a window to be bigger than the screen?
>>
>>Brad
>>
>>Alex Castillo wrote:
>>
>>>Brad,
>>>
>>>Window state is 'normal!'
>>>Window is launched using OpenWithParm(frmName,lsStringParameter)
>>>Window is not open on a MDI frame, its Window Type is 'main!'
>>>
>>>Any idea?
>>>
>>>Thanks..!
>>>
>>>"Brad Wery [TeamSybase]" <bradweryatagricoreunited.com> wrote in message
>>>news:44bfefcd$1@forums-2-dub...
>>>
>>>
>>>>Alex,
>>>>
>>>>It could be a number of things.
>>>>
>>>>What do you have the windows WindowState property set to? How do you open
>>>>the window? Do you open the window in an MDI frame?
>>>>
>>>>Brad
>>>>
>>>>Alex Castillo wrote:
>>>>
>>>>
>>>>>Hello...
>>>>>
>>>>>I defined a form bigger than the screen... I notice that anyway, when I
>>>>>Open the form, it is resized so it fits on the screen.
>>>>>
>>>>>Does anyone knows how to avoid that resizing?
>>>>>
>>>>>Thanks..!
>>>
>>>
>