Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42466

VS 2008 How do I change the mouse pointer to an hourglass for the whole form?

$
0
0
Hi,

VB.net

Started off with :

Me.Cursor = Cursors.WaitCursor
which works fine until you move the mouse.

This works for all the controls on the form:

Dim i As Integer
Do Until i = Me.Controls.Count
Me.Controls(i).Cursor = System.Windows.Forms.Cursors.WaitCursor
i = i + 1
Loop

...but not any controls in a tab control or any controls that are grouped (eg radio buttons)

I did then loop through all the controls on the tab control, but of course all of them are grouped so only affected the tabs themselves.


Thanks

Kristian

Viewing all articles
Browse latest Browse all 42466

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>