// Declare Instance Variables
Private:
boolean ib_MouseCaptured
Public:
string is_PicNormal
string is_PicDisabled
string is_PicMouseOver
string is_PicClickDown
int in_State
// Declare User Events
Event Name=
Event Name=
Event Name=
//
// *** begin constructor event ***
//
is_PicNormal = this
is_PicDisabled =
is_PicMouseOver =
is_PicClickDown =
in_State =
sb_SuppressHoverBorder = FALSE
//
// *** end constructor event ***
//
// *** begin mousemove event ***
//
rect lr_Border
if not ib_MouseCaptured then
if flags < >
this
else
// Left Button Down
this
end if
in_State =
SetCapture(handle(this))
ib_MouseCaptured = TRUE
[
From:http://tw.wingwit.com/Article/program/PB/201311/24552.html