touch.prg

touch.prg

Postby Otto » Tue May 15, 2012 12:52 pm

Hello Antonio,
if you slide a bit and then click you see the input dialog. Then if you enter PW and user you get into metroUI.
But metroUI is not operable any more.
If you slide till you see the icon and then click on the icon all is working.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: touch.prg

Postby Antonio Linares » Tue May 15, 2012 2:26 pm

Otto,

You may oWnd:Disable() the main window until the slider ends and then oWnd;Enable() it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: touch.prg

Postby Otto » Tue May 15, 2012 3:28 pm

Hello Antonio,
can you please show me where to put oWnd:Disable() and oWnd:Enable().
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: touch.prg

Postby Antonio Linares » Tue May 15, 2012 5:56 pm

Otto,

I placed them insize Class TSliderMetro:

Code: Select all  Expand view
METHOD GoTop() CLASS TSliderMetro

   ::oBmp:oWnd:Disable()

   while ::oBmp:nTop > -ScreenHeight() - 100
      ::oBmp:nTop -= 10
      SysRefresh()
   end

   ::oBmp:oWnd:Enable()

return nil
 


Here it seems to be working fine, please test it, thanks :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

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