How to best make controls invisible / visible?

How to best make controls invisible / visible?

Postby xProgrammer » 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)
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia

Postby nageswaragunupudi » Sun Jul 27, 2008 11:39 am

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

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Postby xProgrammer » Sun Jul 27, 2008 11:52 am

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

Regards
Doug
(xProgrammer)
User avatar
xProgrammer
 
Posts: 464
Joined: Tue May 16, 2006 7:47 am
Location: Australia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 78 guests

cron