METROPNL need some more work

METROPNL need some more work

Postby Otto » Fri Jul 27, 2012 6:40 pm

operating metropnl through touch tiles are moving in the wrong direction.
Also drag & drop of tiles should only work like in Windows 8. You must drag first vertical than drag and drop 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: METROPNL need some more work

Postby Otto » Sat Jul 28, 2012 8:11 pm

Is someone working with this class and can confirm this behavior?
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: METROPNL need some more work

Postby nageswaragunupudi » Sun Jul 29, 2012 5:09 am

Otto wrote:operating metropnl through touch tiles are moving in the wrong direction.
Also drag & drop of tiles should only work like in Windows 8. You must drag first vertical than drag and drop is working.
Best regards,
Otto

When mouse or finger is pressed on the panel and dragged left or right, the panel scrolls in the same direction of finger or mouse and exactly follows the finger or mouse.

When the thumb of the scrollbar is dragged, naturally, the panel moves in the opposite direction proportionate to the relative position of the thumb inside the scrollbar.

May we know if you propose a different behavior?
Regards

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

Re: METROPNL need some more work

Postby Otto » Sun Jul 29, 2012 6:50 am

Dear Mr. Rao,
in Windows 8 if you operate with the touchscreen it is like if you would operate on a real paper.
You drag the panel.
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: METROPNL need some more work

Postby nageswaragunupudi » Sun Jul 29, 2012 6:56 am

Otto wrote:Dear Mr. Rao,
in Windows 8 if you operate with the touchscreen it is like if you would operate on a real paper.
You drag the panel.
Best regards,
Otto

Thats what I understood.
Even here if we drag the panel, the panel moves exactly as we move the mouse / finger. I checked with mouse but you may check with finger.
I tested with fwh\samples\metrptst.prg
Regards

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

Re: METROPNL need some more work

Postby Otto » Sun Jul 29, 2012 7:02 am

Dear Mr. Rao,
In Windows 8 UI mouse is only working on scrollbar not on the panel.
You can only drag the panel with a touchscreen and the finger.
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: METROPNL need some more work

Postby Otto » Sun Jul 29, 2012 7:04 am

Dear Mr. Rao,
It is important to think on this too:
Also drag & drop of tiles should only work like in Windows 8. You must drag first vertical than drag and drop 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: METROPNL need some more work

Postby nageswaragunupudi » Sun Jul 29, 2012 7:25 am

In Windows 8 UI mouse is only working on scrollbar not on the panel.

Thanks for the information. In FWH mouse is working both on scrollbar and also panel. This is good for those like me who can not afford touch panels.
You can only drag the panel with a touchscreen and the finger.

I think dragging the panel with finger should be working fine. Please let us know if there is any problem.
We may consider dragging with mouse is an additional feature for those who do not have touch panels.
It is important to think on this too:
Also drag & drop of tiles should only work like in Windows 8. You must drag first vertical than drag and drop is working.

Thanks for pointing out. We shall modify this behavior soon.
Regards

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

Re: METROPNL need some more work

Postby Otto » Tue Sep 04, 2012 8:44 am

Any news?
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: METROPNL need some more work

Postby Otto » Thu Sep 20, 2012 11:12 pm

Dear Mr. Rao,
is this resolved in version 12.8.
Thanks in advance
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: METROPNL need some more work

Postby Otto » Thu Sep 27, 2012 12:37 pm

Hello Antonio,

If I insert
nPixels := nPixels*-1
in the slide method the panel moves in the right direction.
But then the scrollbar is no longer working.
Could you please resolve the silde method.
Best regards,
Otto


Code: Select all  Expand view
METHOD Slide( nPixels ) CLASS TMetroPanel

   local aRect
    nPixels := nPixels*-1
   if ::nScrollRange > 0
      if nPixels > 0
         nPixels  := Min( nPixels, -::nOffSet )
      endif

      if ::nOffSet + nPixels < -::nScrollRange
         nPixels  := -::nScrollRange- ::nOffSet
      endif

      if nPixels != 0
         aRect       = GetClientRect( ::hWnd )
         aRect[ 1 ]  = IfNil( ::nSliderTop, ::nMetroTop )
         aRect[ 3 ] -= 22
         ScrollWindow( ::hWnd, nPixels, 0, 0, aRect )
         ::nOffSet    += nPixels
         if ::nScrollRange > 0
            ::Refresh()
         endif
      endif
   endif

return Self
 
********************************************************************
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: METROPNL need some more work

Postby Antonio Linares » Thu Sep 27, 2012 2:05 pm

Otto,

Could you please provide a screenshot or video (that would be great) to reproduce it here ? 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

Re: METROPNL need some more work

Postby Otto » Thu Sep 27, 2012 4:54 pm

http://www.atzwanger-software.com/fw/slide/slide.html

Hello Antonio,
please see the video.
I move the tiles with scrollbar. Then the behaviour is like original WINDOWS 8.
but if I slide to the right side with finger the tiles move to the left side and this is not so in original Windows 8.
There you drag the Panel with sliding.


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: METROPNL need some more work

Postby Antonio Linares » Thu Sep 27, 2012 6:09 pm

Otto,

Do you mean that the second time that the icons are mov ed to the left, the scrollbar goes to a different position ?

Can't see it very clearly as the camstasia scrollbar is over your screen scrollbar...

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

Re: METROPNL need some more work

Postby Otto » Thu Sep 27, 2012 6:37 pm

Hello Antonio,
if you operate through scrollbar all is fine.
But if you slide from the panel area in original windows the behavior is different:
You drag the “paper” where the tiles are on with your finger or mouse like in real world.
The “paper” is always following the movement of your finger.
In fivewin the tiles go to the opposite site.
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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 100 guests