How to completely hide the any component like TextField or NativeButton ?

Hi All,

I am creating one UI which will be display the component on condition like I have 4 component [one Text-Field,one NativeButton,one check-box and one drop down]
.

In one condition only TextField and drop down should display and in other condition only NativeButton and check-box should display.

Thanks in advance

–Wasim

Use Component.setVisible(false) to hide components.

Thanks for reply Marius,

Tried its working…

–Wasim