2010-11-16 18:59 UTC
I try for many hours to solve this problem. I want to reset a checkbox in initialize and can't apply this. When i start my lisp, a message appear : insufficient number of arguments. I can't see what's appen.
This is my lisp:
(defun C:QD ( / )
(command "OPENDCL")
(dcl_Project_Load "Quickdraw")
(dcl_Form_Show Quickdraw_Pal)
(princ)
)
(defun c:QuickDraw_Pal_OnInitialize (Value /)
(dcl_Control_SetValue QuickDraw_Pal_Top-Lt 0)
(dcl_Control_SetValue QuickDraw_Pal_Top-Lt-1 0)
)
;Vue top-lt
(defun c:QuickDraw_Pal_Top-Lt_OnClicked (Value /)
(setq Top-Lt1 (dcl_Control_Getvalue QuickDraw_Pal_Top-Lt))
)
(defun c:QuickDraw_Pal_Top-Lt-1_OnClicked (Value /)
(setq Top-Lt-on (dcl_Control_Getvalue QuickDraw_Pal_Top-Lt-1))
)
(defun c:QuickDraw_Pal_OK_OnClicked (/)
(dcl_Form_Close Quickdraw_Pal)
)
;|«Visual LISP© Format Options»
(80 2 50 2 nil "end of " 80 50 2 0 2 nil nil nil T)
;*** DO NOT add text below the comment! ***|;
My program is not finish, but i stop with this problem.
Another question: Is that the picture box control can turn gray when you click inside?
I'm a novice.
Thanks
This is my lisp:
(defun C:QD ( / )
(command "OPENDCL")
(dcl_Project_Load "Quickdraw")
(dcl_Form_Show Quickdraw_Pal)
(princ)
)
(defun c:QuickDraw_Pal_OnInitialize (Value /)
(dcl_Control_SetValue QuickDraw_Pal_Top-Lt 0)
(dcl_Control_SetValue QuickDraw_Pal_Top-Lt-1 0)
)
;Vue top-lt
(defun c:QuickDraw_Pal_Top-Lt_OnClicked (Value /)
(setq Top-Lt1 (dcl_Control_Getvalue QuickDraw_Pal_Top-Lt))
)
(defun c:QuickDraw_Pal_Top-Lt-1_OnClicked (Value /)
(setq Top-Lt-on (dcl_Control_Getvalue QuickDraw_Pal_Top-Lt-1))
)
(defun c:QuickDraw_Pal_OK_OnClicked (/)
(dcl_Form_Close Quickdraw_Pal)
)
;|«Visual LISP© Format Options»
(80 2 50 2 nil "end of " 80 50 2 0 2 nil nil nil T)
;*** DO NOT add text below the comment! ***|;
My program is not finish, but i stop with this problem.
Another question: Is that the picture box control can turn gray when you click inside?
I'm a novice.
Thanks