OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: cmwade77 on July 28, 2023, 10:49:48 AM

Title: Picture Button Issue
Post by: cmwade77 on July 28, 2023, 10:49:48 AM
What am I doing wrong here?

Duct_Round#OnClicked works, but Duct_Rect does not, can someone please take a look and tell me what I am missing? I mean, I know a lot of the other buttons are missing still, but I don't want to code them all up and have them not work.
Title: Re: Picture Button Issue
Post by: owenwengerd on July 28, 2023, 05:37:26 PM
The event handler function name in the .odcl does not match the function name in the lisp code. In the attachment I've highlighted the function name in the .odcl. If you uncheck then re-check the event, it will recalculate the name from the current control name, which is probably what you want.
Title: Re: Picture Button Issue
Post by: owenwengerd on July 28, 2023, 05:38:54 PM
Second try to attach the screen shot.