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.

Creating objects in Datawindow Object

3 posts in Objects Last posting was on 2006-07-10 08:50:39.0Z
John Smith Posted on 2006-07-10 06:57:15.0Z
Sender: ce3.44b1f955.1804289383@sybase.com
From: John Smith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Creating objects in Datawindow Object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44b1fa4b.cf2.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 9 Jul 2006 23:57:15 -0700
X-Trace: forums-1-dub 1152514635 10.22.241.41 (9 Jul 2006 23:57:15 -0700)
X-Original-Trace: 9 Jul 2006 23:57:15 -0700, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8925
Article PK: 736121

Dear Friends,

Is it possible to create objects dynamically in a Datawindow
object. For example in runtime I want to create 10 picture
boxes in datawindow object in a freeform presentation
style...

My aim is to design a conference hall using datawindow.

Is there any other better solution for this.

Before I have created separate user objects and shown in the
window and allowed client to design as per the requirement
but in that method I was not able to take printout of entire
design.

Please suggest me in this regard,

thanks in advance


Chris Werner Posted on 2006-07-10 08:37:10.0Z
From: "Chris Werner" <cw{please_no_spam}ATf-s.de>
Newsgroups: sybase.public.powerbuilder.objects
References: <44b1fa4b.cf2.1681692777@sybase.com>
Subject: Re: Creating objects in Datawindow Object
Lines: 38
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: 62.8.156.42
X-Original-NNTP-Posting-Host: 62.8.156.42
Message-ID: <44b211b6@forums-1-dub>
Date: 10 Jul 2006 01:37:10 -0700
X-Trace: forums-1-dub 1152520630 62.8.156.42 (10 Jul 2006 01:37:10 -0700)
X-Original-Trace: 10 Jul 2006 01:37:10 -0700, 62.8.156.42
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8926
Article PK: 736124

Hi John,

yes, this is possible. Form an expression of the
form "create(<objectSyntax>)" where
<objectSyntax> is the syntax of the object you
like to create. Then call a dw.modify(<expr>).
To get syntax examples paint a datawindow
with objects you like, save it in the library and
open it using edit source.

HTH

Chris Werner


<John Smith> schrieb im Newsbeitrag
news:44b1fa4b.cf2.1681692777@sybase.com...

> Dear Friends,
>
> Is it possible to create objects dynamically in a Datawindow
> object. For example in runtime I want to create 10 picture
> boxes in datawindow object in a freeform presentation
> style...
>
> My aim is to design a conference hall using datawindow.
>
> Is there any other better solution for this.
>
> Before I have created separate user objects and shown in the
> window and allowed client to design as per the requirement
> but in that method I was not able to take printout of entire
> design.
>
> Please suggest me in this regard,
>
> thanks in advance