Hello Antonio,
I have 3 problems with touch.prg sample.
Thanks in advance
Otto
METHOD DrawEllipse( hDC, nRGBColor, n ) CLASS TRBtn
local hOldBrush := SelectObject( hDC, GetStockObject( NULL_BRUSH ) )
local hPen := CreatePen( hDC, 1, nRGBColor )
DEFAULT n := -1
Ellipse( hDC, n, n, ::nWidth - 1 , ::nHeight - 1 , hPen )
SelectObject( ::hDC, hOldBrush )
DeleteObject( hPen )
return nil
//----------------------------------------------------------------------------//
METHOD finger(x) CLASS TScrollPanel
::GoToPos( x )
return nil
//----------------------------------------------------------------------------//
oPanel:bLClicked := { || oPanel:SetFocus(),lSlider := .t. }
oPanel:bLButtonUp := { |r,c,f,lDrag | lSlider := .f. }
oPanel:bMMoved := { |r,c,f,lDrag| if( lSlider = .t. , oPanel:finger(r), ) }
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 72 guests