I'm working on a LiveCode project and running into a bug when trying to update a field dynamically. I have a button that, when clicked, should update `field "output"` with new text, but nothing happens. Here's my code inside the button:The field exists on the card, and its name matches exactly. However, the text doesn't update when I click the button.
I've tried refreshing the screen with `revRefreshWindow`, but that didn't help. Am I missing something? How can I fix this?
CODE:
on mouseUp put "Hello, LiveCode!" into field "output"end mouseUp
I've tried refreshing the screen with `revRefreshWindow`, but that didn't help. Am I missing something? How can I fix this?
Statistics: Posted by medarda — Thu Feb 20, 2025 5:16 am