Force refresh of GUI?


It must be something easy but I can’t figure it out. After I update a TGLabel in my gui how do I force a refresh of the gui ? for the time being it will keep the former value until I resize the window.

Thank you,

Hi Barth,

gVirtualX->Update(0) should do.

Cheers, Axel.

Hi Axel,

Thank you for your very fast reply. I have tried your snippet but it didn’t work.

I"ll prepare a minimal example.


According to: … el:SetText
You need to call Layout()