* putting an object reference into a variable * (in this case the reference of the parent of the command button * this parent has the cMyState property) loObject = This.Parent oMyState = Createobject('GetState', loObject) ...>>
* create an object of any class * Note: "Relation" class is a flyweight, that's why it's more suitable instead of container * or other more weighty classes! loObject = NEWOBJECT( "Relation" ) * adding the wished property loObject.AddProperty( "cMyState" ) oMyState = Createobject('GetState', loObject) ...