I need my label control to show when you mouse over it, and hides when MouseLeave. I'm using VB 2010 express.
Offline
Set up a timer which looks for this event. Make variables.
variableX = label.X
variableY = label.Y
variablelength = label.width
variableheight = label.height
variablemousex = mouse.x
variablemousey = mouse.y
if (variablemousey < variableY) AND (variablemousey > variableY- variableheight) AND (variablemousex > variableX) AND ( variablemousex < variablelength + variableX) then
end if
Last edited by what-the (2011-02-18 20:46:57)
My site Offline