Results 1 to 2 of 2

Thread: [RESOLVED] Buttons unclickable

Threaded View

  1. #1

    Thread Starter
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Resolved [RESOLVED] Buttons unclickable

    I've got a weird problem... I have a few buttons on my form and after disabling and re-enabling all of the buttons, two of them cannot be clicked. Here is the form in question:



    The two buttons in the bottom right corner - Import and Cancel - cannot be clicked after I set their IsEnabled property to false and then back to true again.
    The weird thing is that I am doing the exact same thing with the other buttons on that form but all of the others still work fine. I have tried just sticking a new button on the form right next to those two and that new one works fine...
    Just to clarify, the buttons do not look any different when they are unclickable - they dont look disabled or anything, but when you mouse over them you do not get the normal mouse over effect that buttons give.
    To make it even weirder, if I tab to the buttons and then use space bar to press them they both work fine!

    I am baffled!

    Any ideas?
    Need any more info?

    Cheers
    Chris

    EDIT: OK I just found that even if I dont set the button's IsEnabled properties to false and back to true then this same problem occurs anyway :S The thing that seems to trigger this is clicking the Generate Preview button in my app, which runs a background worker that populates the ListView. It doesnt touch the Import or Cancel buttons though so I am rather puzzled...
    Last edited by chris128; Feb 3rd, 2009 at 07:12 PM.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width