Author Topic: Picture Button Issue  (Read 810 times)

cmwade77

  • Member
  • *
  • Posts: 25
Picture Button Issue
« 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.

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3098
    • Outside The Box
Re: Picture Button Issue
« Reply #1 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.

owenwengerd

  • Administrator
  • Hero Member
  • *****
  • Posts: 3098
    • Outside The Box
Re: Picture Button Issue
« Reply #2 on: July 28, 2023, 05:38:54 PM »
Second try to attach the screen shot.