Results 1 to 7 of 7

Thread: MouseIcon Property

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    6
    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

  2. #2
    Guest
    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.


  3. #3

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    6
    yeh, i do..this is so annoying me!!!!!!! thanx newayz!!

  4. #4
    Guest
    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.

  5. #5
    Fanatic Member kinjalgp's Avatar
    Join Date
    Apr 2000
    Location
    India
    Posts
    535

    Unhappy

    I specified the MouseIcon directly from the property window and set the pointer property to 4-Icon but it doesn't work.

    Kinjal

  6. #6
    Guest
    Set it to 99. It works for me.

  7. #7

    Thread Starter
    New Member
    Join Date
    May 2000
    Posts
    6
    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!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width