For some reason, and it's probably one of those accessibility things like tab ordering, when I hit the spacebar after selecting a button on my form, the spacebar clicks the button.

This is NOT acceptable, and I have considered a work around of selecting an invisible panel or other "dummy" control after clicking any button on the form.

I'm wondering if there is any other way?

See http://support.microsoft.com/kb/955938 (change your button Click() event to a MouseClick() event). You still get the "flash" on the button if the user hits spacebar, but it doesn't do anything.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.