>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement