What object / event called my function

What object / event called my function

Post by swaggone » Thu, 08 Jul 2004 02:26:17


If I'm in a function, is there a way to tell what object / event
called that function without passing it in as an argument or using a
global / instance variable?

Using Powerbuilder 7.0

Scott
 
 
 

What object / event called my function

Post by Real Gagno » Thu, 08 Jul 2004 10:13:07

> If I'm in a function, is there a way to tell what object / event

// dummy error code and error text
PopulateError(999, "notused")

Messagebox(error.object , error.objectevent)

Bye.
--
Real Gagnon from Quebec, Canada
* Looking for Java or PB snippets ? Visit Real's How-to
* http://www.yqcomputer.com/