-
hay, im having some problems with the syntax for changing the mouseicon property when a user double clicks on a flexgrid. i have tried a number of different ways including;
grid.mouseicon [ = c \ winnt\cursors\size3_rm.cur] and
grid.mouseicon = loadpicture(c\winnt\cursors\size3_rm)
and nither of them are right. if ne1 could help me it would be really great
thanx
burn
-
Have you got your MousePointer property set to 99 (Custom)?
You must set the MousePointer property is set to 99 before you can display a custom MouseIcon.
-
yeh, i do..this is so annoying me!!!!!!! thanx newayz!!
-
So that didn't work?
grid.mouseicon = loadpicture(c\winnt\cursors\size3_rm)
It might be your code that's wrong. You are missing a
colon acter C and you are missing the file extention after the file name. Try this code...
Code:
grid.mouseicon = loadpicture(c:\winnt\cursors\size3_rm.ico)
If that doesn't work, make sure you have the full pathname correct.
-
I specified the MouseIcon directly from the property window and set the pointer property to 4-Icon but it doesn't work.
:p Kinjal :p
-
Set it to 99. It works for me.
-
thanx heaps, but i dunno whats wrong with it...but i have got a file extension on it (.cur) and when i put in the colan, vb takes it out, so i thought maybe it wasnt supposed to b there. oh well, i suppose ill just have to do something else. thanx newayz!!