Todavia mas facil
Publicado por Andreu (3 intervenciones) el 14/05/2002 20:01:52
Para descomplicar mas:
Tengo este DCL
teste:dialog{label="Teste";
:row{
:button {label="Teste";key="b1";}
}
ok_only;
}
... y este lsp:
(defun c:teste()
(setq Ind (load_dialog "c:/temp/pruebas/teste.dcl"));
(new_dialog "teste" Ind)
(action_tile "b1" "(c:rutina)")
(start_dialog)
(unload_dialog Ind)
)
(defun c:rutina()
(alert "Funciona")
)
Pregunta:
Porque no funciona si cambio la linea de (alert "Funciona") por
(command "_line" "50,50,0" "100,100,0" "")
Ayudas !! Por fa!!
Tengo este DCL
teste:dialog{label="Teste";
:row{
:button {label="Teste";key="b1";}
}
ok_only;
}
... y este lsp:
(defun c:teste()
(setq Ind (load_dialog "c:/temp/pruebas/teste.dcl"));
(new_dialog "teste" Ind)
(action_tile "b1" "(c:rutina)")
(start_dialog)
(unload_dialog Ind)
)
(defun c:rutina()
(alert "Funciona")
)
Pregunta:
Porque no funciona si cambio la linea de (alert "Funciona") por
(command "_line" "50,50,0" "100,100,0" "")
Ayudas !! Por fa!!
Valora esta pregunta
0