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.

Verify if an event or function exists in a specified object

4 posts in Objects Last posting was on 2009-10-07 03:02:40.0Z
neil Posted on 2009-10-06 07:03:39.0Z
Sender: 734d.4acaeb65.1804289383@sybase.com
From: Neil
Newsgroups: sybase.public.powerbuilder.objects
Subject: Verify if an event or function exists in a specified object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4acaebcb.7363.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Oct 2009 00:03:39 -0700
X-Trace: forums-1-dub 1254812619 10.22.241.41 (6 Oct 2009 00:03:39 -0700)
X-Original-Trace: 6 Oct 2009 00:03:39 -0700, 10.22.241.41
Lines: 2
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9925
Article PK: 737053

Is there a way to verify if a function exists in a window or
userobject?


neil Posted on 2009-10-06 07:05:50.0Z
Sender: 734d.4acaeb65.1804289383@sybase.com
From: Neil
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Verify if an event or function exists in a specified object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4acaec4e.737d.1681692777@sybase.com>
References: <4acaebcb.7363.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Oct 2009 00:05:50 -0700
X-Trace: forums-1-dub 1254812750 10.22.241.41 (6 Oct 2009 00:05:50 -0700)
X-Original-Trace: 6 Oct 2009 00:05:50 -0700, 10.22.241.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9926
Article PK: 737054


> Is there a way to verify if a function exists in a window
> or userobject?

ex code: parentwindow.trigger dynamic function wf_po1()

this is a script in a pop-up menu. Now I want to check first
if wf_po1 exists in a window where pop-up menu is opened
before executing that script above.


Real Gagnon Posted on 2009-10-06 11:23:45.0Z
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Verify if an event or function exists in a specified object
From: Real Gagnon <realgag+usenet@geocities.com>
References: <4acaebcb.7363.1681692777@sybase.com> <4acaec4e.737d.1681692777@sybase.com>
Message-ID: <Xns9C9C4C286E646rgagnoncom@192.138.151.106>
User-Agent: Xnews/2006.08.24
X-Face: '>{u/e[@wCYV$e!T!j^qB%wU,7sGB<j\$2x+m&b<L:qzZ;x8EJMzD|$^
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 6 Oct 2009 04:23:45 -0700
X-Trace: forums-1-dub 1254828225 10.22.241.152 (6 Oct 2009 04:23:45 -0700)
X-Original-Trace: 6 Oct 2009 04:23:45 -0700, vip152.sybase.com
Lines: 19
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9928
Article PK: 737056


Neil wrote in news:4acaec4e.737d.1681692777@sybase.com:

>> Is there a way to verify if a function exists in a window
>> or userobject?
> ex code: parentwindow.trigger dynamic function wf_po1()
>
> this is a script in a pop-up menu. Now I want to check first
> if wf_po1 exists in a window where pop-up menu is opened
> before executing that script above.
>

See http://www.rgagnon.com/pbdetails/pb-0153.html

Bye.
--
Real Gagnon from Quebec, Canada
* Java, Javascript, VBScript and PowerBuilder code snippets
* http://www.rgagnon.com/howto.html
* http://www.rgagnon.com/bigindex.html


neil Posted on 2009-10-07 03:02:40.0Z
Sender: 734d.4acaeb65.1804289383@sybase.com
From: Neil
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Verify if an event or function exists in a specified object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4acc04d0.2717.1681692777@sybase.com>
References: <Xns9C9C4C286E646rgagnoncom@192.138.151.106>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 6 Oct 2009 20:02:40 -0700
X-Trace: forums-1-dub 1254884560 10.22.241.41 (6 Oct 2009 20:02:40 -0700)
X-Original-Trace: 6 Oct 2009 20:02:40 -0700, 10.22.241.41
Lines: 22
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:9931
Article PK: 737057

Thank you so much.

> Neil wrote in news:4acaec4e.737d.1681692777@sybase.com:
>
> >> Is there a way to verify if a function exists in a
> window >> or userobject?
> > ex code: parentwindow.trigger dynamic function wf_po1()
> >
> > this is a script in a pop-up menu. Now I want to check
> > first if wf_po1 exists in a window where pop-up menu is
> > opened before executing that script above.
> >
>
> See http://www.rgagnon.com/pbdetails/pb-0153.html
>
> Bye.
> --
> Real Gagnon from Quebec, Canada
> * Java, Javascript, VBScript and PowerBuilder code
> snippets * http://www.rgagnon.com/howto.html
> * http://www.rgagnon.com/bigindex.html