ICeMaN_179 Posted January 7, 2003 Posted January 7, 2003 I have made a program that is a simple game, where the user has 3 tries to guess a randomly generated number between 1 and 10, once all 3 tries have been used it displays THE END and sets: ButGo.enabled = False TXTInVal.enabled = False once these are set i want the cursor for those objects to change to the block cursor (circle with a line through it), how can this be done ? Quote
*Gurus* divil Posted January 7, 2003 *Gurus* Posted January 7, 2003 Button1.Cursor = Cursors.No Note that this won't work if the button is disabled. I don't think Windows permits setting custom cursors on disabled windows. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Experts* Nerseus Posted January 7, 2003 *Experts* Posted January 7, 2003 I don't think you'd want to change the cursor for those buttons anyway. As long as they look disabled, that should alert the user that they can't be selected. -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.