Sorry and Thank you

With SetGadgetText(50, Text$) Textrefresh is easy.
best regards,
Murmel
GadgetLabel( 33, 20, 300, 300, 25,Wetter$,2)
GadgetLabel( 34, 20, 330, 300, 25,Verschimmelt$,2)
GadgetLabel( 35, 20, 360, 300, 25,Ernte$,2)
GadgetLabel( 42, 20, 450, 300, 25,VolkbenoetigNahrung$,2)
GadgetSlider( 43, 20, 480, 100, 25,1000,Kornvorrat[1])
GadgetLabel( 37, 20, 390, 300, 25,Kornvorrat$,2)
GadgetLabel( 38, 20, 420, 300, 25,Kornnachfrage$,2)
GadgetLabel( 39, 330, 300, 240, 25,Kornpreis$,2)
Redlion wrote:Hi Murmel,
I think I follow what you are asking,
You should be able to change the label text with SetGadgetText(GadgetID,Text$), if there is no border you could change the text to "" (Null$).
If you do not want show the gadget anymore use HideLayer("Gadget"..strstr(GadgetID))
you may have to DisableButton(GadgetID) as well.
BTW I have found a bug in the Frame and Area Gadgets, I will fix them ASAP.
Hope you are finding the Gadgets useful.
Cheers
Redlion
RANDOM = 25
GadgetSpin(107, 400, 330, 80, 25, RANDOM,100)
25.....100
GadgetArea( 81, 10, 270, 780, 340, 0, $979393)
GadgetFrame( 80, 10, 260, 780, 340, "Staatshaushalt", 1)
HideLayer("Gadget"..StrStr(81)) or (80)
GadgetArea( 52, 15, 35, 780, 200, $979393, 0)
GadgetFrame( 51, 10, 30, 780, 200, Spielertitel$, 0, $979393)
Users browsing this forum: No registered users and 1 guest