Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditional changing of Mouse Pointer on a Grid
Message
De
26/09/2005 13:36:21
 
 
À
26/09/2005 13:04:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01046136
Message ID:
01053132
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform