autocad 2004 odcl 5.0.1.4
spin button on modeless form
on_change event returns error: "Too many arguments" when button is clicked
(defun c:XSW_XSW_spxsw_OnChanged (Value /)
(dcl_MessageBox "To Do: code must be added to event handler\r\nc:XSW_XSW_spxsw_OnChanged" "To do")
)
any suggestions?
thanks
Ya I had the same prob.
https://sourceforge.net/tracker2/?func=detail&aid=2483098&group_id=187950&atid=923363 (https://sourceforge.net/tracker2/?func=detail&aid=2483098&group_id=187950&atid=923363)
Try adding a 2nd. argument to your callback function.
(defun c:XSW_XSW_spxsw_OnChanged (Value Delta /)
)
Thanks for the help.
Is it supposed to have 2 arguments or is it just a mistake in the code that will be fixed later to have 1 argument?
I just wanted to know so I can make a note to update my clients program later.