2009-02-18 21:01 UTC
hello
i'm absolutely new in ODCL and i have some questions:
1º i'm trying to create a modal dialog with just one button (Pick button) and a label. Clic in Pick button must hides the dialog and select objects, when selection finishes the dialog must shows it and the label text changed to something like "10 objects selected". that's all, but "FORM_HIDE" method locks up autocad (as it says in the help), i thougth "FORM_SHOW" will unlocks autocad but i can't even select objects. so, how can i "restore" the show status of a modal dialog?
2º in the same dialog and when there's not objects selected, the label must display a help text (not as tooltip) when move the mouse over pick button, but i really don't understand how mouse_move works, when i try to load in vlisp editor: ; error: bad element in arguments list: 0
3º i have some problems with ESM (spanish version), the translation is not full and is a little confusing. so i decided to install ENU version and i have this error (three times downloaded and three times the same):

thnx
i'm absolutely new in ODCL and i have some questions:
1º i'm trying to create a modal dialog with just one button (Pick button) and a label. Clic in Pick button must hides the dialog and select objects, when selection finishes the dialog must shows it and the label text changed to something like "10 objects selected". that's all, but "FORM_HIDE" method locks up autocad (as it says in the help), i thougth "FORM_SHOW" will unlocks autocad but i can't even select objects. so, how can i "restore" the show status of a modal dialog?
(defun c:sslength_Form1_GraphicButton1_OnClicked (/)
(dcl_Form_Hide sslength_Form1 t)
(setq objs (ssget))
(DCL_FORM_SHOW alttext_FORM1)
...
)2º in the same dialog and when there's not objects selected, the label must display a help text (not as tooltip) when move the mouse over pick button, but i really don't understand how mouse_move works, when i try to load in vlisp editor: ; error: bad element in arguments list: 0
(defun c:sslength_Form1_GraphicButton1_OnMouseMove 0 0 0 /)
(dcl_Control_SetCaption sslength_Form1_Label1 "This button allows you select objects")
)3º i have some problems with ESM (spanish version), the translation is not full and is a little confusing. so i decided to install ENU version and i have this error (three times downloaded and three times the same):

thnx
