FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to know if a control is Hidden???
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
How to know if a control is Hidden???
Posted: Sat Oct 08, 2011 06:19 PM

I need to know if a BtnBmp is Hidden or Visible... adding a variable won't be an option, because there are hundreds of buttons with different names...

Thanks for any ideas!!!

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: How to know if a control is Hidden???
Posted: Sat Oct 08, 2011 06:50 PM
Hello



Try with IsWindowVisible( obtn:hWnd )
Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: How to know if a control is Hidden???
Posted: Sat Oct 08, 2011 08:00 PM
Thanks Daniel,

It worked!!!

I wanted it to create the following effect:

http://www.youtube.com/watch?v=bm0VvUge41w

I acheived it by hidding the buttons but using a SysWait() in between them...

It looks slow in the video, but I made it that way so it could be seen... in reality I have it faster...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: How to know if a control is Hidden???
Posted: Sat Oct 08, 2011 08:12 PM

Bayron

nice efect :-D

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: How to know if a control is Hidden???
Posted: Sun Oct 09, 2011 02:59 AM

It's all thanks to you Daniel, because it was you who gave me the compiled example of folderEx, and it got to me to use oBtn:Hide() to create an effect too...

=====>

Bayron Landaverry
xBasePHP.com
(215)2226600 Philadelphia,PA, USA
MayaBuilders@gMail.com
Guatemala

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Continue the discussion