Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing cursor color & size
Message
De
25/09/1997 19:04:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00051388
Message ID:
00051692
Vues:
38
>>>Should have been more specific, Can the cursor shape be changed in a textbox editing session?
>>
>>Yes. As Ed said, use the MousePointer property = 99 (Custom). It will use the mouse pointer icon you specify in the MouseIcon property.
>>
>>That also means you need to have a .cur or .ico file that contains the image you want to use as cursor. (Look in \WINDOWS\CURSORS directory for some files of this type.)
>>
>Vlad, is this in VFP 3.0?, that is what I am using and I see no MouseIcon property. Mousepointer goes from 1 to 12.

No, this VFP5. In VFP3 probably you can use something similar to what I have in the 2 FAQ (here on UT) about mouse pointers. Ie: use LoadCursor(), LoadCursorFromFile() etc WIn32 API functions. Although, I don't think it worth it unless you have this in specification. If it's just for a fancy effect on user... be sure you're paid to do it cause you must take care of a lot of events.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform