Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional changing of Mouse Pointer on a Grid
Message
From
26/09/2005 13:36:21
 
 
To
26/09/2005 13:04:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01046136
Message ID:
01053132
Views:
12
>In my testing both of Fabio's code examples worked fine. VFP9, Windows XP Pro SP2
>I would check to make sure the icon file you pointed it to really is an .ico file. When I tested it with an actual .ico file, it works great, but when I tested it with a .bmp or .gif file it didn't change the icon.
>
>
>PROCEDURE Grid1.customMousePointer(nWhere,nRelRow,nRelCol)
>   * change the pointer
>    this.MouseIcon = "C:\icons\icons\apple.ico" && works
>*    this.MouseIcon = "C:\icons\icons\apple.gif" && does not work
>   RETURN 99
>ENDDEFINE
>
MouseIcon support only .Cur,.Ani,.Ico.

Before VFP9 the Grid.Mousepointer it is ignored
Previous
Reply
Map
View

Click here to load this message in the networking platform