event.source in a window event is the window. In your button events it is the button. You’ll need something like:
lbl3 = event.source.rootContainer.getComponent('Label 29')
Note: please edit your post to properly delimit your pasted code and exception text. Use three backticks together above and below the pasted material so it formats properly. It should look like this in the forum’s editor pane:
```
pasted material
```