Wish Items

Started by hermanm, July 13, 2007, 07:30:44 PM

Previous topic - Next topic

Kerry

From memory ..

Yes Callbacks need to be global ... and

Add (vl-arx-import "Opendcl.xx.arx")
to the head of lisp file

call all control methods something like this
(Odcl_Control_xxxxxxx  (vl-doc-ref <ControlName>) <parameters>)


It's been a while since I've done  seperate namespace work .. sorry not more explicit.

Perfection is not optional.
My other home is TheSwamp

DW

Also you need to quote ' the symbol so you will end up with (dcl_Control_xxxxxxx  (vl-doc-ref '<ControlName>) <parameters>).

However if you construct the ControlName at runtime (say if you want to populate many edit boxes with data using the same dcl_control functions) - you shouldn't quote it because it gets evaluated, for example :

(dcl_Control_xxx   (vl-doc-ref (read (strcat "<ControlName>" (itoa ct)))) <parameters>)