Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: suhas hegde
  Where is suhas hegde?
 sirsi
 India
 suhas hegde
 To: Maurizio Zazzi
  Where is Maurizio Zazzi?
 Siena
 Italy
 Maurizio Zazzi
 Tags
Subject: RE: MouseEnter & forecolor in a single cell
Thread ID: 154830 Message ID: 154972 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Grids
Date: Thursday, December 20, 2007 9:41:51 PM         
   


> >
> >
> > See example attached. It works as expected. Click on the cell in column 1 or 2, it means, "the mouse enters", move mouse from the cell, and it means, "mouse leaves". While the cell is active, you can move mouse in and out and see colors are switching.
> >
> > Columns 1 an 2 behave differently because of column.sparce setting.
> >
> >
> >
> > Best Wishes,
> >
> > Yuri Rubinov
> > https://www.foxite.com/uploads/94054051-f0dc-4f7d-9e7a-20d7ea20cbad.zip
>
> Thanks Yuri,
>
> I thought the MouseEnter could fire before the Click event. Is there a way to force this so that the color changes just with the mouse moving over the text without having to click first?
>
> Maurizio Zazzi


try a Timer and AMOUSEOBJ() to determine if mouse is on the cell or not

ENTIRE THREAD

MouseEnter & forecolor in a single cell Posted by Maurizio Zazzi @ 12/19/2007 9:03:58 PM
RE: MouseEnter & forecolor in a single cell Posted by Yuri Rubinov @ 12/19/2007 9:39:49 PM
RE: MouseEnter & forecolor in a single cell Posted by Maurizio Zazzi @ 12/20/2007 11:37:48 AM
RE: MouseEnter & forecolor in a single cell Posted by Yuri Rubinov @ 12/20/2007 3:02:35 PM
RE: MouseEnter & forecolor in a single cell Posted by Maurizio Zazzi @ 12/20/2007 4:10:20 PM
RE: MouseEnter & forecolor in a single cell Posted by Yuri Rubinov @ 12/20/2007 5:38:44 PM
RE: MouseEnter & forecolor in a single cell Posted by suhas hegde @ 12/20/2007 9:41:51 PM
RE: MouseEnter & forecolor in a single cell Posted by Yuri Rubinov @ 12/20/2007 10:09:23 PM
RE: MouseEnter & forecolor in a single cell Posted by suhas hegde @ 12/21/2007 10:24:10 AM
RE: MouseEnter & forecolor in a single cell Posted by surinder singh @ 12/20/2007 5:30:16 AM
RE: MouseEnter & forecolor in a single cell Posted by Barbara Peisch @ 12/21/2007 3:37:12 AM