redefine GET oGet VAR var1 id 101 of oDlg
oGet:bPainted = { || PaintBorder( oGet, oDlg ) }
...
function PaintBorder( oGet, oDlg )
local aPoint1 := { -1, -1 }
local aPoint2 := { oGet:nHeight, oGet:nWidth }
aPoint1 = ClientToScreen( oGet:hWnd, aPoint1 )
aPoint1 = ScreenToClient( oDlg:hWnd, aPoint1 )
aPoint2 = ClientToScreen( oGet:hWnd, aPoint2 )
aPoint2 = ScreenToClient( oDlg:hWnd, aPoint2 )
WndBox( oDlg:GetDC(), aPoint1[ 1 ], aPoint1[ 2 ], aPoint2[ 1 ], aPoint2[ 2 ] )
oDlg:ReleaseDC()
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 63 guests