Mouse Cursor appearance

  • Thread starter Thread starter Stan Sainte-Rose
  • Start date Start date
S

Stan Sainte-Rose

Hi,

I have a datagrid with several records.
By double clicking on a line I load a winform.
I would like to know how to change the mouse cursor appearance while the
new form is loading

Thanks for your help

Stan
 
Hi Stan,
at start
me.cursor = cursors.waitcursor

at end
me.cursor = cursors.default

I hope this helps a little bit?
 
Hi Stan,

I first did look at your previous question.

Normaly loading of a form is so fast you would not see it.
Only if there is a process before it that takes some time than you can set
the wait cursor.

Set wait cursor
do process
set default cursor
show other window

Cor
 
* "Stan Sainte-Rose said:
I have a datagrid with several records.
By double clicking on a line I load a winform.
I would like to know how to change the mouse cursor appearance while the
new form is loading

You can set the form's 'Cursor' property to, for example,
'Cursors.WaitCursor' or you can set 'Cursor.Current'.
 
Back
Top