K
K
Hi all, I have "Image Control (ActiveX Control)" on my sheet and with
code below when I take my mouse pointer on that "Image Control" it
loads the picture "b2.bmp" on it. I want some code line in code below
that as soon as I take my mouse pointer off from that "Image Control"
picture "b1.bmp" should get loaded. In other words i want picture
"b2.bmp" to be loaded on "Image Control" when i take my curser or
mouse pointer on it (which i have achived in code below) and when i
take my curser or mouse pointer off from "Image Control" then picture
"b1.bmp" should be get loaded on "Image Control". Please any friend
can help me on this.
CODE:-
Private Sub Image1_MouseMove(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)
Image1.Picture = LoadPicture("C:\Documents and Settings\My Documents
\My Pictures\b2.bmp")
End Sub
code below when I take my mouse pointer on that "Image Control" it
loads the picture "b2.bmp" on it. I want some code line in code below
that as soon as I take my mouse pointer off from that "Image Control"
picture "b1.bmp" should get loaded. In other words i want picture
"b2.bmp" to be loaded on "Image Control" when i take my curser or
mouse pointer on it (which i have achived in code below) and when i
take my curser or mouse pointer off from "Image Control" then picture
"b1.bmp" should be get loaded on "Image Control". Please any friend
can help me on this.
CODE:-
Private Sub Image1_MouseMove(ByVal Button As Integer, ByVal Shift As
Integer, ByVal X As Single, ByVal Y As Single)
Image1.Picture = LoadPicture("C:\Documents and Settings\My Documents
\My Pictures\b2.bmp")
End Sub