cancel
Showing results for 
Search instead for 
Did you mean: 

How to Make Button Visible?

DPutr.1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Osman SOYKURT
ST Employee

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 SOYKURT
ST Software Developer | TouchGFX

View solution in original post

3 REPLIES 3
Osman SOYKURT
ST Employee

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 SOYKURT
ST Software Developer | TouchGFX
DPutr.1
Associate II

Hello Oskt,

Thank you for the answer very helpful

You're welcome :)

Osman SOYKURT
ST Software Developer | TouchGFX