J
JK
Hi again,
Is there a way to move the cursor on the screen without the mouse?
The Problem:
I use buttons that are in fact images. Each button is in fact 3 images that
are changed through the "Picture" property by the Mouse events Move, Down
and Up:
1 Normal: when the cursor is anywhere on the form
2. Point: when the cursor is on the button
3. Down: when mouse button is down.
The "on Mouse Up" sub set the button to Normal and does something (eg Close
a form, opens another form etc.
The problem is that because the cursor remains on the 'button" it
immediately activate the "on Mouse Move" sub, correctly so, until I move the
cursor with mouse. I want to move the cursor away from the "button" within
the (MyButton)_OnMouseUp sub to anywhere on the screen the leave the
"button" in a Normal state
Is that possible?
Regards/JK
Is there a way to move the cursor on the screen without the mouse?
The Problem:
I use buttons that are in fact images. Each button is in fact 3 images that
are changed through the "Picture" property by the Mouse events Move, Down
and Up:
1 Normal: when the cursor is anywhere on the form
2. Point: when the cursor is on the button
3. Down: when mouse button is down.
The "on Mouse Up" sub set the button to Normal and does something (eg Close
a form, opens another form etc.
The problem is that because the cursor remains on the 'button" it
immediately activate the "on Mouse Move" sub, correctly so, until I move the
cursor with mouse. I want to move the cursor away from the "button" within
the (MyButton)_OnMouseUp sub to anywhere on the screen the leave the
"button" in a Normal state
Is that possible?
Regards/JK