How to know if a control is Hidden???

How to know if a control is Hidden???

Postby Bayron » Sat Oct 08, 2011 6: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: How to know if a control is Hidden???

Postby Daniel Garcia-Gil » Sat Oct 08, 2011 6:50 pm

Hello



Try with IsWindowVisible( obtn:hWnd )
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: How to know if a control is Hidden???

Postby Bayron » Sat Oct 08, 2011 8: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: How to know if a control is Hidden???

Postby Daniel Garcia-Gil » Sat Oct 08, 2011 8:12 pm

Bayron


nice efect :-D
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: How to know if a control is Hidden???

Postby Bayron » Sun Oct 09, 2011 2: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
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft and 96 guests