Thanks for all the answers. The line me.parent.form.cursor=cursors.wait
seened to work.
The big problem was going over a collection of pictureboxes that I had the
borders set to fixedsingle on to look like a grid. The cursor change on the
border.
After trying to draw lines with the graphics class..I ended up putting them
all in a picturebox about 1 pixel from eachother and making the container
backcolor black. Looks like a gid line. One of those 5 min solutions that
took all day. Trying to make the simple hard.
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:Or*************@TK2MSFTNGP12.phx.gbl...
Does this change the form's cursor?
private sub button_click()
me.cursor=cursors.wait
end sub
is that what you need?
of course to change just for button
button.cursor=cursors.wait
"Lespaul36" <le*******@none.net> wrote in message
news:Ok*************@tk2msftngp13.phx.gbl... Sorry for the confusion.
No, what I need to do it change the screen cursor when a button is
clicked. something like:
private sub button_click()
cursor.current=cursors.wait
end sub
but it doesn't change the cursor if do it that way.
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:uo**************@TK2MSFTNGP12.phx.gbl... I'm confused...
Do you want to set the cursor of a button?
If so set the cursor property in the properties window. Or do it at
runtime.
button1.cursor=cursors.wait
HTH,
Shane
"Lespaul36" <le*******@none.net> wrote in message
news:e4**************@TK2MSFTNGP11.phx.gbl...
> I have a mdi app. I need to change the cursor when I click on
certain > button on a form that I made into a toolbar. I tried to use
cursor.current.
> But the cursor won't show. if I change the form cursor it will work
over > the form. I need it to stay with the same cursor over all objects.
>
> Any ideas of what I am doing wrong here?
>
> TIA
>
>