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.

Is it possibly to add new properties to an object ?

4 posts in Objects Last posting was on 2008-02-27 14:00:56.0Z
Steven Posted on 2008-02-27 04:22:13.0Z
Sender: 505.47c3cd3d.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.powerbuilder.objects
Subject: Is it possibly to add new properties to an object ?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47c4e575.4321.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 26 Feb 2008 20:22:13 -0800
X-Trace: forums-1-dub 1204086133 10.22.241.41 (26 Feb 2008 20:22:13 -0800)
X-Original-Trace: 26 Feb 2008 20:22:13 -0800, 10.22.241.41
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9611
Article PK: 736752

Hello to you,

I'm newbie in PB World.

Let say about visual object as command button, datawindow
etc

Is there any possibility to adding new property into command
button ?

I know every object has tag property is sparing for
programmer to use.

But, I really want to add a new one.

Please advice & thanks in advance, show me by script.

Regards,
Steven


fisher <fisher_NO Posted on 2008-02-27 06:51:09.0Z
From: fisher <fisher_NO@SPAM_wckp.lodz.pl_PLEASE>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Is it possibly to add new properties to an object ?
References: <47c4e575.4321.1681692777@sybase.com>
In-Reply-To: <47c4e575.4321.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <47c5085d$1@forums-1-dub>
Date: 26 Feb 2008 22:51:09 -0800
X-Trace: forums-1-dub 1204095069 10.22.241.152 (26 Feb 2008 22:51:09 -0800)
X-Original-Trace: 26 Feb 2008 22:51:09 -0800, vip152.sybase.com
Lines: 33
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9612
Article PK: 736756

Hi Steven,

Basically you can create a new class (VisualObject) that inherits from
CommandButton etc. Add properties to this new class and use it instead
of CB delivered by Sybase.

If you have any doubts search for inheritance in help.\

BTW. alwas let us know your PB version/build, your DB and way you
connect to it.
Just help us help you.
Regards.

steven pisze:

> Hello to you,
>
> I'm newbie in PB World.
>
> Let say about visual object as command button, datawindow
> etc
>
> Is there any possibility to adding new property into command
> button ?
>
> I know every object has tag property is sparing for
> programmer to use.
>
> But, I really want to add a new one.
>
> Please advice & thanks in advance, show me by script.
>
> Regards,
> Steven


Steven Posted on 2008-02-27 11:15:11.0Z
Sender: 505.47c3cd3d.1804289383@sybase.com
From: steven
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Is it possibly to add new properties to an object ?
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <47c5463f.62ac.1681692777@sybase.com>
References: <47c5085d$1@forums-1-dub>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 Feb 2008 03:15:11 -0800
X-Trace: forums-1-dub 1204110911 10.22.241.41 (27 Feb 2008 03:15:11 -0800)
X-Original-Trace: 27 Feb 2008 03:15:11 -0800, 10.22.241.41
Lines: 38
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9613
Article PK: 736758

I'm using PB9.

How to "Add properties to this new class" ?

> Hi Steven,
>
> Basically you can create a new class (VisualObject) that
> inherits from CommandButton etc. Add properties to this
> new class and use it instead of CB delivered by Sybase.
>
> If you have any doubts search for inheritance in help.\
>
> BTW. alwas let us know your PB version/build, your DB and
> way you connect to it.
> Just help us help you.
> Regards.
>
> steven pisze:
> > Hello to you,
> >
> > I'm newbie in PB World.
> >
> > Let say about visual object as command button,
> > datawindow etc
> >
> > Is there any possibility to adding new property into
> > command button ?
> >
> > I know every object has tag property is sparing for
> > programmer to use.
> >
> > But, I really want to add a new one.
> >
> > Please advice & thanks in advance, show me by script.
> >
> > Regards,
> > Steven