How to best make controls invisible / visible?

Post Reply
User avatar
xProgrammer
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

How to best make controls invisible / visible?

Post 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)
User avatar
nageswaragunupudi
Posts: 10721
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 8 times
Contact:

Post by nageswaragunupudi »

oControl:Hide()
again to show
oControl:Show()
Regards

G. N. Rao.
Hyderabad, India
User avatar
xProgrammer
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Post by xProgrammer »

Thanks. I hadn't seen Hide(). Glad I asked.

Regards
Doug
(xProgrammer)
Post Reply