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.

Dynamicaly created object

4 posts in Objects Last posting was on 2005-08-15 15:19:39.0Z
Daniel Hederer Posted on 2005-04-07 09:30:45.0Z
From: "Daniel Hederer" <hederer@datalock.sk>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Dynamicaly created object
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.215.95.26.adsl.rainside.sk
X-Original-NNTP-Posting-Host: 213.215.95.26.adsl.rainside.sk
Message-ID: <4254fdc5$1@forums-1-dub>
Date: 7 Apr 2005 02:30:45 -0700
X-Trace: forums-1-dub 1112866245 213.215.95.26 (7 Apr 2005 02:30:45 -0700)
X-Original-Trace: 7 Apr 2005 02:30:45 -0700, 213.215.95.26.adsl.rainside.sk
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8318
Article PK: 735545

hello;

i have this problem:

i have window; in this window i have a datawindow; and empty userobject uo1,
only with horizontal scrollbar;
after retrieve datawindow, i want dynamicaly create other userobjects uo2[]
(type: picture), but i want to attach them to uo1.

HOW?

thanks for any help


Steve Katz [TeamSybase] Posted on 2005-04-08 14:42:32.0Z
Sender: 6bb.42557858.1804289383@sybase.com
From: Steve Katz [TeamSybase]
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Dynamicaly created object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <42569858.1266.1681692777@sybase.com>
References: <4254fdc5$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 8 Apr 2005 07:42:32 -0700
X-Trace: forums-1-dub 1112971352 10.22.241.41 (8 Apr 2005 07:42:32 -0700)
X-Original-Trace: 8 Apr 2005 07:42:32 -0700, 10.22.241.41
Lines: 36
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8323
Article PK: 735549

Assuming you want uo_1 to "contain" several uo_2's, declare
on uo_1 an instance variable to hold an array of uo_2's,
some (protected or private) functions to create and place
and customize the uo_2's, as well as a (public) function on
uo_1 that you call from the retrieveend event (or wherever
else).

If you want to respond to click events on the uo_2's you
will need to code the click event of the picture on uo_2
ahead of time to do something. That something will probably
be to trigger an event on uo_2's parent (in this case uo_1).
uo_1 would then contain the code to handle the event.

I leave the actual details to you<g>.

HTH,

steve
[TeamSybase]

> hello;
>
> i have this problem:
>
> i have window; in this window i have a datawindow; and
> empty userobject uo1, only with horizontal scrollbar;
> after retrieve datawindow, i want dynamicaly create other
> userobjects uo2[] (type: picture), but i want to attach
> them to uo1.
>
> HOW?
>
> thanks for any help
>
>
>


Daniel Villa Posted on 2005-08-15 15:03:45.0Z
From: "Daniel Villa" <Dan@solidtsi.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <4254fdc5$1@forums-1-dub>
Subject: Re: Dynamicaly created object
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-Original-NNTP-Posting-Host: adsl-64-118-244-54.netrox.net
Message-ID: <4300aecd$1@forums-2-dub>
X-Original-Trace: 15 Aug 2005 08:03:41 -0700, adsl-64-118-244-54.netrox.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 15 Aug 2005 08:03:42 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 15 Aug 2005 08:03:45 -0700
X-Trace: forums-1-dub 1124118225 10.22.108.75 (15 Aug 2005 08:03:45 -0700)
X-Original-Trace: 15 Aug 2005 08:03:45 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8526
Article PK: 735750

I would like to know how to dynamicaly create a static text on a windwo?

"Daniel Hederer" <hederer@datalock.sk> wrote in message
news:4254fdc5$1@forums-1-dub...
> hello;
>
> i have this problem:
>
> i have window; in this window i have a datawindow; and empty userobject
> uo1,
> only with horizontal scrollbar;
> after retrieve datawindow, i want dynamicaly create other userobjects
> uo2[]
> (type: picture), but i want to attach them to uo1.
>
> HOW?
>
> thanks for any help
>
>
>


Jason 'Bug' Fenter <fenter_bug_ Posted on 2005-08-15 15:19:39.0Z
From: Jason 'Bug' Fenter <fenter_bug_@_hot_mail_dot_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: Dynamicaly created object
References: <4254fdc5$1@forums-1-dub> <4300aecd$1@forums-2-dub>
In-Reply-To: <4300aecd$1@forums-2-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 66.196.228.211
Message-ID: <4300b287$1@forums-2-dub>
X-Original-Trace: 15 Aug 2005 08:19:35 -0700, 66.196.228.211
Lines: 37
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 15 Aug 2005 08:19:36 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 15 Aug 2005 08:19:39 -0700
X-Trace: forums-1-dub 1124119179 10.22.108.75 (15 Aug 2005 08:19:39 -0700)
X-Original-Trace: 15 Aug 2005 08:19: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:8527
Article PK: 735749

OpenUserObject ()

Daniel Villa wrote:
> I would like to know how to dynamicaly create a static text on a windwo?
> "Daniel Hederer" <hederer@datalock.sk> wrote in message
> news:4254fdc5$1@forums-1-dub...
>
>>hello;
>>
>>i have this problem:
>>
>>i have window; in this window i have a datawindow; and empty userobject
>>uo1,
>>only with horizontal scrollbar;
>>after retrieve datawindow, i want dynamicaly create other userobjects
>>uo2[]
>>(type: picture), but i want to attach them to uo1.
>>
>>HOW?
>>
>>thanks for any help

--
"Don't just fix; teach."

For GUI ideas, visit
http://guiolympics.codexchange.sybase.com
http://fenterbug.homeip.net/gallery

On using newsgroups in general:
news:news.announce.newusers
http://www.geocities.com/nnqweb/
http://www.catb.org/~esr/faqs/smart-questions.html
http://www.caliburn.nl/topposting.html
http://www.netmeister.org/news/learn2quote.html