[Q] IDL 5.1, passing keyword params to subprocedures [message #12094] |
Fri, 26 June 1998 00:00 |
dEdmundson
Messages: 23 Registered: February 1998
|
Junior Member |
|
|
I am trying to create a setproperty procedure for a class that contains
several atomic IDL graphics objects. Something along the lines of:
pro myclass::setproperty, _REF_EXTRA = ex
self.axis1 -> setproperty, ['axis1_hide']
self.axis2 -> setproperty, ['axis2_hide']
[...]
end
which should accept calls like the following:
a = obj_new('myclass')
a->setproperty,axis1_hide=/hide
a->setproperty,axis2_hide=/hide
This and several variants I have tried don't work. Can you
see what I am getting at and offer a decent solution?
Cheers,
Darran.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
|
|
|