TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: cadplayer on November 23, 2012, 07:07:26 AM

Title: Modal Dialog Form with click button method
Post by: cadplayer on November 23, 2012, 07:07:26 AM
Hi!

I have a "Modal dialog form" an installed a click button. If I push the button my code ask for example "How many copy of layouts wish you". Than I must type in a number, but I canīt do this before I close the form. Is there any solutions, that I can type a number in Acad command rad and have open my dialog form at the same time?

Regards Dirk
Title: Re: Modal Dialog Form with click button method
Post by: Kerry on November 23, 2012, 04:32:26 PM

Not with a modal form. It must be hidden or closed before you can continue.

Have you considered adding a textbox to the form to use for your user input ??

Title: Re: Modal Dialog Form with click button method
Post by: cadplayer on November 26, 2012, 07:11:34 AM
Thanks that was a way for the solution.

Another question is if itīs possible a textbox in the form can control (read) value from a variable. I mean if a variable have a textstring "hello world" it should read in texbox an display them as Hello world

[edit]

dcl_Control_SetText ... I was looking for