Picture Button Issue

Started by cmwade77, July 28, 2023, 10:49:48 AM

Previous topic - Next topic

cmwade77

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.

owenwengerd

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.
Owen Wengerd (Outside The Box) / ManuSoft

owenwengerd

Second try to attach the screen shot.
Owen Wengerd (Outside The Box) / ManuSoft