Class varaiable declaration in a container object

forum.cdk (1998-2005) & forum.td.cdk (2005-2010)
Arjan Marto

Class varaiable declaration in a container object

Post by Arjan Marto » 04 Apr 2003, 11:06

 Posted by:  Arjan Marto 

Hi,
How can I insert a variable of class cMyClass in the variable declaration of
a container ( form, dialog, table window) etc .

Thanks

Jonas Mandahl Pedersen

Re: Class varaiable declaration in a container object

Post by Jonas Mandahl Pedersen » 04 Apr 2003, 11:27

 Posted by:  Jonas Mandahl Pedersen 

Hi Arjan

Ex on a form:

If oForm.AddWindowVariable( CDK_IT_ClassObject, 'objVarName')
If oForm.GetChildOfType( CDK_IT_FormVariables, cdkItem, 0)
If cdkItem.GetFirstChild( cdkItem)
Call cdkItem.SetObjectClass( 'cMyClass' )

Maybe there is a easyer way but this works !

Regards
Jonas

Best Regards
Jonas

Return to “td.cdk”

Who is online

Users browsing this forum: No registered users and 0 guests