thisButton and thisID are not reset in a CALL #180

Closed
opened 2026-02-20 10:14:59 -05:00 by deekerman · 1 comment
Owner

Originally created by @rogerl50 on GitHub (Apr 8, 2021).

Originally assigned to: @ArnoldSmith86 on GitHub.

When one widget calls a routine in another widget, the thisButton collection and the thisID variable continue to refer to the (original) caller. This behavior should probably be changed.

Additionally, now that any widget can have a clickRoutine, the name of thisButton should perhaps be changed to thisWidget; however, this would require a fileUpdater change.

Originally created by @rogerl50 on GitHub (Apr 8, 2021). Originally assigned to: @ArnoldSmith86 on GitHub. When one widget calls a routine in another widget, the `thisButton` collection and the `thisID` variable continue to refer to the (original) caller. This behavior should *probably* be changed. Additionally, now that any widget can have a `clickRoutine`, the name of `thisButton` should perhaps be changed to `thisWidget`; however, this would require a fileUpdater change.
deekerman 2026-02-20 10:14:59 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ArnoldSmith86 commented on GitHub (Apr 8, 2021):

I agree that thisID and thisButton should point to the callee.

I also agree with renaming but later.

@ArnoldSmith86 commented on GitHub (Apr 8, 2021): I agree that `thisID` and `thisButton` should point to the callee. I also agree with renaming but later.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/virtualtabletop#180
No description provided.