Change the cursor to an Hourglass - InfoPath Dev
in

InfoPath Dev

Change the cursor to an Hourglass

Last post 12-03-2007 10:45 PM by Patrick Halstead. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-03-2007 01:21 PM

    Change the cursor to an Hourglass

    Hello,

    I am curious if there is a way to change the cursor to an hourglass while I wait for the information to return from the database.  I am using code behind (C#) to attain my information from the DB so I figured if this could be done it would be done in code.

    Any ideas?

    Thanks!

  • 12-03-2007 02:06 PM In reply to

    Re: Change the cursor to an Hourglass

    Nevermind I figured it out.

    You have to add a reference to System.Windows.Forms then...

    Cursor.Current = Cursors.WaitCursor;

    Sorry to waste space on the forum.

  • 12-03-2007 10:45 PM In reply to

    Re: Change the cursor to an Hourglass

    Hi Monkey nad welcome!

    This is no waste at all. In fact, I think this is a great technique. I learned something new thanks to you! :)

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.