TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: Tortiz on May 20, 2015, 01:14:31 PM

Title: why is this OpenDCL statement not working?
Post by: Tortiz on May 20, 2015, 01:14:31 PM
Any Idea why this isn't working
(defun c:lotdata_pksysofsth_OnClicked ()
     (setq SYSOFSTH (getdist "Sideyard swale offset from pad on high side of lot : "))
   (dcl_Control_SetText LOTDATA_lotdata_TextSYSOFSTH SYSOFSTH [as String])
)
Title: Re: why is this OpenDCL statement not working?
Post by: Fred Tomke on May 20, 2015, 01:32:50 PM
Hello,

please have a look here  (http://www.opendcl.com/forum/index.php?topic=1080.0)and here (http://www.opendcl.com/forum/index.php?topic=947.msg4759#msg4759).

Regards, Fred
Title: Re: why is this OpenDCL statement not working?
Post by: Tortiz on May 20, 2015, 03:22:42 PM
it is in a Modeless Dialog...........
Title: Re: why is this OpenDCL statement not working?
Post by: owenwengerd on May 20, 2015, 11:54:06 PM
Try this:
Code: [Select]
(dcl_Control_SetText LOTDATA_lotdata_TextSYSOFSTH (rtos SYSOFSTH))
Title: Re: why is this OpenDCL statement not working?
Post by: Tortiz on May 21, 2015, 09:02:15 AM
It worked thank you!!!