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.

Splitting Windows

2 posts in Objects Last posting was on 2006-07-08 16:04:18.0Z
Ranjith Posted on 2006-07-08 06:54:44.0Z
Sender: 5093.44af560e.1804289383@sybase.com
From: Ranjith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Splitting Windows
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44af56b4.5095.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 7 Jul 2006 23:54:44 -0700
X-Trace: forums-1-dub 1152341684 10.22.241.41 (7 Jul 2006 23:54:44 -0700)
X-Original-Trace: 7 Jul 2006 23:54:44 -0700, 10.22.241.41
Lines: 11
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8917
Article PK: 736115

Dear Friends,

I want to split window vertically like we do with Datawindow
object. Please let me know the posibility of this, if you
can tel me an idea how to achieve this task.

It is urgent please help me out.

Regards

Ranjith T


Jason 'Bug' Fenter [TeamSybase] Posted on 2006-07-08 16:04:18.0Z
From: "Jason 'Bug' Fenter [TeamSybase]" <jason.fenter@teamsybase.com>
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Splitting Windows
References: <44af56b4.5095.1681692777@sybase.com>
In-Reply-To: <44af56b4.5095.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: ppp-70-251-79-2.dsl.rcsntx.swbell.net
Message-ID: <44afd617@forums-2-dub>
X-Original-Trace: 8 Jul 2006 08:58:15 -0700, ppp-70-251-79-2.dsl.rcsntx.swbell.net
Lines: 20
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 8 Jul 2006 08:58:18 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 8 Jul 2006 09:04:18 -0700
X-Trace: forums-1-dub 1152374658 10.22.108.75 (8 Jul 2006 09:04:18 -0700)
X-Original-Trace: 8 Jul 2006 09:04:18 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8921
Article PK: 736120


Ranjith wrote:
> Dear Friends,
>
> I want to split window vertically like we do with Datawindow
> object. Please let me know the posibility of this, if you
> can tel me an idea how to achieve this task.
>
> It is urgent please help me out.
>
> Regards
>
> Ranjith T

The only way I know to scroll *part* of a window is if the objects you
want to scroll are on a containing object, like a custom visual object
or datawindow. If possible, I would recreate your window in a datawindow
(to save on GUI handles). You could place one instance of it covering
the entire window and ShareData() with two invisible ones that represent
the "split". Just toggle the visibility between the controls to turn
"splitting" off and on.