2008-02-18 22:37 UTC
Hello,
I don't want to add this as a bug report until I know whether it's a bug or not:
In the attachment you'll find a project file and a lisp. When the form will be initialized all controls shall be enabled (there are cases when all control will be disabled). To make sure that I won't forget a control I use the GetControls method.
(mapcar '(lambda (x) (dcl_Control_SetEnabled x T)) (cdr (dcl_Form_GetControls constr_sc_hedge)))
But with OpenDCL 5.0.0.5 the SetEnabled will be refused (invalid argument type, argument 0). I could swear that it worked in 5.0.0.3.
Are the controls invalid which are given by dcl_Form_GetControls?
Fred
[attachment deleted by admin]
I don't want to add this as a bug report until I know whether it's a bug or not:
In the attachment you'll find a project file and a lisp. When the form will be initialized all controls shall be enabled (there are cases when all control will be disabled). To make sure that I won't forget a control I use the GetControls method.
(mapcar '(lambda (x) (dcl_Control_SetEnabled x T)) (cdr (dcl_Form_GetControls constr_sc_hedge)))
But with OpenDCL 5.0.0.5 the SetEnabled will be refused (invalid argument type, argument 0). I could swear that it worked in 5.0.0.3.
Are the controls invalid which are given by dcl_Form_GetControls?
Fred
[attachment deleted by admin]