how can i "getdist" value "dcl_Control_setText"

Started by pascal_dedi, March 06, 2014, 08:07:20 AM

Previous topic - Next topic

pascal_dedi

Hi, how can i this write?

this does not work

(defun c:Layer_Manager_Form1_Label45_OnClicked (/)
(setq wand_staerke_zeigen (getdist "\nZeigen Sie bitte Wand Stärke" ))
(rtos wand_staerke_zeigen 2 2)
(dcl_Control_SetText  Layer_Manager_Form1_TextBox3 wand_staerke_zeigen);(princ)
)
thanks!

owenwengerd

You should never use the phrase "this does not work" in a technical forum. At a minimum you need to describe what you did, what you expected to happen, and what actually happened, including any error messages.

It looks like you intended to write this:
Code (autolisp) Select
(setq wand_staerke_zeigen (rtos wand_staerke_zeigen 2 2))

Does that fix your problem?

pascal_dedi

#2
Hi Owen
I thought is understandable title. "how can i "getdist value set to...."
you're right. I wrote yesterday quickly and made ​​fault.
thank you so much! sorry for my art.