Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ray Tawil
  Where is Ray Tawil?
 Oregon
 Ohio - United States
 Ray Tawil
 Tags
Subject: Changing images through event
Thread ID: 209566 Message ID: 209566 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: Forms
Date: Monday, December 29, 2008 4:46:42 PM         
   


Hello community,

i have an image control i want on the

"Mouse enter" event make the image1 change to image2 & on the
"Mouse leave" event reset the image back to image1

the problem is whenever i place the mouse over the image the other image starts flikering very fast.
i thought of adding a timer or somthing like that but it doesnt seem to work so far... here's the syntax:
mouse enter:

LPARAMETERS nButton, nShift, nXCoord, nYCoord
thisform.Themedtitlepageframe.themedtitlepage1.userControls.timer1.Enabled = .T. 
thisform.Themedtitlepageframe.themedtitlepage1.userControls.image1.Visible = .F.
thisform.Themedtitlepageframe.themedtitlepage1.userControls.image7.Visible = .T.

mouse leave:

LPARAMETERS nButton, nShift, nXCoord, nYCoord
thisform.Themedtitlepageframe.themedtitlepage1.userControls.timer1.Enabled = .T. 
thisform.Themedtitlepageframe.themedtitlepage1.userControls.image1.Visible = .F.
thisform.Themedtitlepageframe.themedtitlepage1.userControls.image7.Visible = .T.


ENTIRE THREAD

Changing images through event Posted by Rabih Tawil @ 12/29/2008 4:46:42 PM
RE: Changing images through event Posted by Bhushan Sahni @ 12/29/2008 4:55:52 PM
RE: Changing images through event Posted by Rabih Tawil @ 12/29/2008 5:06:40 PM
RE: Changing images through event Posted by Yousfi Benameur @ 12/29/2008 10:50:43 PM
RE: Changing images through event Posted by Rabih Tawil @ 12/30/2008 8:32:00 AM
RE: Changing images through event Posted by Bernard Bout @ 12/29/2008 6:09:36 PM