Cursor problem

  • Thread starter Thread starter Just Me
  • Start date Start date
J

Just Me

I have a usercontrol, UC1, which contains a different usercontrol, UC2, a
listview and a combobox.

In the code for UC1 I do:
Cursor = Cursors.WaitCursor

The mousepointer changes to the WaitCursor if I'm over UC2 but changes back
to the default when I'm over the other two items?

Anyone have any idea what might be happening and how I can fix it?



Thanks
 
Hi,

You only changed the cursor for uc1 you need to change the cursor
for uc2 also.

Ken
--------------------
I have a usercontrol, UC1, which contains a different usercontrol, UC2, a
listview and a combobox.

In the code for UC1 I do:
Cursor = Cursors.WaitCursor

The mousepointer changes to the WaitCursor if I'm over UC2 but changes back
to the default when I'm over the other two items?

Anyone have any idea what might be happening and how I can fix it?



Thanks
 
Ken,
I don't understand the suggestion. When I'm over UC2 I get the changed
cursor. It's the other controls that don't work OK.

I guess the question is why does it appear UC2 gets it's cursor from the
containing UC1 but the others do not?


Bottom line question: Is it necessary to set the cursor for every control
contained in UC1 or is changing UC1 sufficient?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top