MOUSEHANDLED(PaintType)
|
MOUSEHANDLED(PaintType) Method. If this method is called in the mouseclick Event handler then GoDB does not execute any further processing. if PaintType=0 then MOUSEHANDLED is ignored if PaintType=1 then Event Bubling is cancelled and the browser is repainted. if PaintType=2 then Event Bubling is cancelled and the browser is NOT repainted. NOTE: As this event can occur many times the screen is not updated automatically so call UPDATE method at the end of the event handler if there are any display related functions in the function. See Also: Form_MouseClick |
sub Form_MouseClick
print "Screen Position"
print getmousex(0),getmousey(0)
print "Page Position"
print getmousex(1),getmousey(1)
MOUSEHANDLED(1)
endsub
Sub Form_Mouseclick(x,y)
print "x position " + x
print "y position " + y
MOUSEHANDLED(1)
End Sub