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.

Create Datawindow Control on the fly

2 posts in Objects Last posting was on 2003-11-04 21:45:07.0Z
Paul Bradshaw Posted on 2003-11-04 21:30:17.0Z
From: Paul Bradshaw <bradshaw@uoguelph.ca>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Create Datawindow Control on the fly
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: node159.alumni.uoguelph.ca
X-Original-NNTP-Posting-Host: node159.alumni.uoguelph.ca
Message-ID: <3fa81a69$1@forums-1-dub>
Date: 4 Nov 2003 13:30:17 -0800
X-Trace: forums-1-dub 1067981417 131.104.44.159 (4 Nov 2003 13:30:17 -0800)
X-Original-Trace: 4 Nov 2003 13:30:17 -0800, node159.alumni.uoguelph.ca
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7650
Article PK: 734931

Hi there,

Maybe I'm just being clueless, but is there a way to dynamically create
a datawindow control? I see how to create a datawinow object and assign
it to an already present datawindow control with the datawindow.create()
function. Is it possible to also create the control on the fly?

Thanks,

...paul


Paul Bradshaw Posted on 2003-11-04 21:45:07.0Z
From: Paul Bradshaw <bradshaw@uoguelph.ca>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Create Datawindow Control on the fly
References: <3fa81a69$1@forums-1-dub>
In-Reply-To: <3fa81a69$1@forums-1-dub>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: node159.alumni.uoguelph.ca
Message-ID: <3fa81f0e$1@forums-2-dub>
X-Original-Trace: 4 Nov 2003 13:50:06 -0800, node159.alumni.uoguelph.ca
Lines: 36
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 4 Nov 2003 13:36:52 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 4 Nov 2003 13:45:07 -0800
X-Trace: forums-1-dub 1067982307 10.22.108.75 (4 Nov 2003 13:45:07 -0800)
X-Original-Trace: 4 Nov 2003 13:45:07 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7651
Article PK: 734929

Actually, I think Bruce answered the first part of my question for me.
Thanks Bruce. I would like to open several copies of the same
datawindow though -- is this possible?

> create a custom user object inherited from the datawindow control, and
> then do a OpenUserObject to create it.
>
> Or did you mean the creation of a DataWindow *object* dynamically?
>
> On 16 Sep 2003 06:57:09 -0700, Bostech wrote:
>
>
>
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Two new books on developing with PowerBuilder
> http://www.pb9books.com?source=newsgroups
>
> Need code sample? Check out CodeXchange:
> http://www.codexchange.sybase.com
>
> ISUG Enhancement Requests
> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
>
> Preach the gospel at all times. If necessary, use words. - Francis of Assisi
> http://www.needhim.org