Skip to main content
DPutr.1
Associate II
June 8, 2022
Solved

How to Make Button Visible?

  • June 8, 2022
  • 2 replies
  • 1448 views

i use button.setvisible(bool) function but it doesn't happen accordingly. is there an example of how to do it?

This topic has been closed for replies.
Best answer by Osman SOYKURT

Hello DPutr.1,

I think you use the function correctly, but maybe you just forget to call the invalidate function after ?

something like:

button1.setVisible(TRUE);
button1.invalidate();

/Osman

2 replies

Osman SOYKURT
Osman SOYKURTBest answer
Technical Moderator
June 8, 2022

Hello DPutr.1,

I think you use the function correctly, but maybe you just forget to call the invalidate function after ?

something like:

button1.setVisible(TRUE);
button1.invalidate();

/Osman

Osman SOYKURTST Software Developer | TouchGFX
DPutr.1
DPutr.1Author
Associate II
June 9, 2022

Hello Oskt,

Thank you for the answer very helpful

Osman SOYKURT
Technical Moderator
June 9, 2022

You're welcome :)

Osman SOYKURTST Software Developer | TouchGFX