Author Topic: why is this OpenDCL statement not working?  (Read 2049 times)

0 Members and 1 Guest are viewing this topic.

Tortiz

  • Newt
  • Posts: 23
why is this OpenDCL statement not working?
« 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])
)

Fred Tomke

  • Newt
  • Posts: 38
  • [ Mr. Bad Guy ]
Re: why is this OpenDCL statement not working?
« Reply #1 on: May 20, 2015, 01:32:50 PM »
Hello,

please have a look here and here.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Tortiz

  • Newt
  • Posts: 23
Re: why is this OpenDCL statement not working?
« Reply #2 on: May 20, 2015, 03:22:42 PM »
it is in a Modeless Dialog...........

owenwengerd

  • Bull Frog
  • Posts: 439
Re: why is this OpenDCL statement not working?
« Reply #3 on: May 20, 2015, 11:54:06 PM »
Try this:
Code: [Select]
(dcl_Control_SetText LOTDATA_lotdata_TextSYSOFSTH (rtos SYSOFSTH))

Tortiz

  • Newt
  • Posts: 23
Re: why is this OpenDCL statement not working?
« Reply #4 on: May 21, 2015, 09:02:15 AM »
It worked thank you!!!