Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Thanks Dmitry, it works. I don't know why, but it works.
I say that I don't know why because in theory thisForm.mousePointer should affect only to the form, but not it's objects. Besides, if I put the code inside gridX.mouseMove it does not work.
I have tried almost everything, even the API functions that I found on the book '1001 things':
DECLARE INTEGER LoadCursorFromFile in Win32Api String
DECLARE SetSystemCursor in Win32Api Integer, Integer
but they have a minor glitch: they load a cursor from a file, and if the user has defined different cursor from the Windows default cursors, then the arrow that appears is not the user's arrow.
Thanks,
Javier.
>Use MouseMove event, for example in ColumnX.MouseMove:
>
>ThisForm.MousePointer = 1
Précédent
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