Small example of StringGadget updating TextGadget?
Posted: Thu Mar 06, 2025 11:14 pm
I am trying to write a little Android program that converts numbers or something small to start with.
I am struggling to get Gadgets to continuously update like I would in PureBasic with:
I can get gadgets to appear, but they don't respond when I click on them or type in something, the way I expected after using PureBasic.
Does anyone have a small example of a StringGadget writing to a TextGadget when the StringGadget is updated?
I am struggling to get Gadgets to continuously update like I would in PureBasic with:
Code: Select all
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_Gadget
Select EventGadget()
Case 1
; do various things
EndSelect
EndSelect
Until Event = #PB_Event_CloseWindow
Does anyone have a small example of a StringGadget writing to a TextGadget when the StringGadget is updated?