Hello,
Just before performing a timely operation I am setting the mouse cursor to WAIT as so:
MainFrom.RootPane.MouseCursor = fx.Cursors.WAIT
When I add the code for my long running process after the above line (which connects to a database) the cursor does not change. I tried putting a huge for-loop before it and also using a timer. Still, my mouse cursor changes after my process.
What can you recommend to get the MouseCursor to be visible as fx.Cursors.WAIT before my process runs?
Thanks,
Michael
Just before performing a timely operation I am setting the mouse cursor to WAIT as so:
MainFrom.RootPane.MouseCursor = fx.Cursors.WAIT
When I add the code for my long running process after the above line (which connects to a database) the cursor does not change. I tried putting a huge for-loop before it and also using a timer. Still, my mouse cursor changes after my process.
What can you recommend to get the MouseCursor to be visible as fx.Cursors.WAIT before my process runs?
Thanks,
Michael