Page 1 of 1

How to best make controls invisible / visible?

Posted: Sun Jul 27, 2008 11:03 am
by xProgrammer
Hi all

I am wondering what is the best way to make controls invisible and then make them visible again. If necessary I'll experiment, but I imagine others will have wanted to do this. I will have to check whether it works also under FiveLinux but that's my problem.

What are the options?

? move to a location outside the bounds of the window/dialog?

? reduce size to 0, 0

? change colors to color of background and disable()

Thanks
Doug
(xProgrammer)

Posted: Sun Jul 27, 2008 11:39 am
by nageswaragunupudi
oControl:Hide()
again to show
oControl:Show()

Posted: Sun Jul 27, 2008 11:52 am
by xProgrammer
Thanks. I hadn't seen Hide(). Glad I asked.

Regards
Doug
(xProgrammer)