gracias

On Feb 19, 2004, at 3:16 PM, Ben Johansen wrote:

Hi,

Excerpt from one of Scotts previous emails:

To re-use a Method inside another Method - which happens to belong to
the
same TCF:

Note: Re-instantiating the Object is not necessary.

-- Drag the Method into the Method:
-- Set your 'Object instance variable' to:
    Scope: Method
    Name: this

Or if you want to the <@CALLMETHOD> Metatag:

<@CALLMETHOD OBJECT="method$this"
METHOD="someMethod('parameter1','parameter2')">


The variable 'this' automatically refers to the current Class (TCF), and
because you are inside a Method - Method Scope is used.


Just be careful about doing this inside your On_Create Method - because
then
your TCF is going to call itself before it has finished loading the
first
time.

Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller
Available for Witango Developement


-----Original Message----- From: Roland Dumas [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:42 PM To: WiTango List Subject: Witango-Talk: methods calling methods

can one method call another in the same tcf?

_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



_______________________________________________________________________ _
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to