Results 1 to 4 of 4

Thread: [RESOLVED][02/03] Change cursor from Module

  1. #1

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    [RESOLVED][02/03] Change cursor from Module

    How can I do it? If I try the usual way:

    VB Code:
    1. me.cursor = cursors.waitcursor

    Certainly it will throw an exception. Thanks.
    Last edited by Xcoder; Sep 28th, 2006 at 03:35 PM.
    Last edited by Xcoder : 09-10-2001 at 12:45 AM.

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [02/03] Change cursor from Module

    Quote Originally Posted by Xcoder
    How can I do it? If I try the usual way:

    VB Code:
    1. me.cursor = cursors.waitcursor

    Certainly it will throw an exception. Thanks.
    Hi,

    You could try this;

    VB Code:
    1. Dim oldCursor As Cursor = Cursor.Current
    2. Cursor.Current = Cursors.WaitCursor

    Hope it helps,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    Lively Member Xcoder's Avatar
    Join Date
    Jan 2004
    Posts
    120

    Re: [02/03] Change cursor from Module

    Quote Originally Posted by sparrow1
    Hi,

    You could try this;

    VB Code:
    1. Dim oldCursor As Cursor = Cursor.Current
    2. Cursor.Current = Cursors.WaitCursor

    Hope it helps,

    sparrow1
    It did, thanks
    Last edited by Xcoder : 09-10-2001 at 12:45 AM.

  4. #4
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: [02/03] Change cursor from Module

    Quote Originally Posted by Xcoder
    It did, thanks
    Hi,

    Your welcome, mark your thread as resolved!

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

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