I'm trying to make an image behave as a button, not just the 'click and do macro' but the look.
What I have is something like this (not actual code)...
Declare Clicking=0
Image.Picture=Pic0
UserForm MouseMove Event{
Image.Picture=Pic0
}
Image MouseMove Event{
If Clicking=0 Then Image.Picture=Pic1
}
Image MouseDown Event{
Clicking=1
Image.Picture=Pic2
}
Image MouseUp Event{
Clicking=0
}
The problem I have is that when I'm clicking (Image MouseDown Activated, Image MouseUp Deactivated) and I move the mouse out of the image, it doesn't trigger the UserForm Mouse Move Event, staying with the pic2 instead of the pic0.
Bookmarks