Page 1 of 1

UpdateGadget

Posted: Thu Apr 10, 2025 12:56 pm
by rndrei
How to update Gadget?Is there a type of team like UpdateGadget()?

Re: UpdateGadget

Posted: Thu Apr 10, 2025 1:00 pm
by Caronte3D
What do you mean with: "update"?
Ex: If you want to update a TextGadget, use: SetGadgetText
If you mean another thing explain more :D

Re: UpdateGadget

Posted: Thu Apr 10, 2025 1:30 pm
by rndrei
I need to update to the Repeat Until cycle!?

Re: UpdateGadget

Posted: Thu Apr 10, 2025 1:59 pm
by Mindphazer
You need to process the event to have graphical refresh, if that's what you mean.
Use WaitWindowEvent

Re: UpdateGadget

Posted: Thu Apr 10, 2025 1:59 pm
by Demivec
rndrei wrote: Thu Apr 10, 2025 1:30 pm I need to update to the Repeat Until cycle!?
Yes.

Re: UpdateGadget

Posted: Thu Apr 10, 2025 8:10 pm
by rndrei
Mindphazer wrote: Thu Apr 10, 2025 1:59 pm You need to process the event to have graphical refresh, if that's what you mean.
Use WaitWindowEvent
Understood!

Re: UpdateGadget

Posted: Thu Apr 10, 2025 8:20 pm
by RASHAD
Maybe
I am not sure about Linux :)
1- If you want to update the position use "ResizeGadget()"
2- If you want to refresh the look use "HideGadget(?,0)"