FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to best make controls invisible / visible?
Posts: 464
Joined: Tue May 16, 2006 07:47 AM
How to best make controls invisible / visible?
Posted: Sun Jul 27, 2008 11:03 AM

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)

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
How to best make controls invisible / visible?
Posted: Sun Jul 27, 2008 11:39 AM

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

Regards



G. N. Rao.

Hyderabad, India
Posts: 464
Joined: Tue May 16, 2006 07:47 AM
How to best make controls invisible / visible?
Posted: Sun Jul 27, 2008 11:52 AM

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

Regards
Doug
(xProgrammer)

Continue the discussion