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
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
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
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.
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.
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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 100 guests