• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

Cannot click on a button

I have a user who claims that he cannot click a command button. He can see it, but cannot access it. This is the standard VB command button. I have several hundred copies of this program installed on various computers and this is the only time this has come up.  He is running Windows XP 5.1 build 2600. I'm using VB 6 SP6.

There are other command buttons in the application that work. It's just this one that does not. It doesn't make any sense to me.  There are no hidden or clear objects on the form that might be absorbing the click event. There are no other events on the button (mouse down etc). I have made it as simple as I can and he claims it still doesn't work.  Is it pilot error on the user? Does it sound familar to anyone?  Any suggestions how to debug it?  I'm stuck
2 Solutions
Can the user TAB to the button and use the keyboard to activate the button?
Does the button appear to press or does it appear disabled?
williams99Author Commented:
Apparently using TAB doesn't work.  I will ask if the button is disabled. THere is no code which should disable it.
does it appear to click and nothing happen or does it not even click at all. i have seen some instances of buttons in win2000 not doing anything but they still click. now this was at a point in time when i upgraded a security patch and it happened in mmc dialog boxes. required a reload of operating system, but never on a vb app. if it clicks and nothing happends i would put msgboxes at the top of the procedure that notify me that the event was firing. msgbox "Button Clicked". then throughout the procedure add them to tell you where the execution is, its weird yes, but... there IS a reason. If i ever find a situation where i cant find the reason i'm getting out of this business. HEHEHe
Check whether the frame or picturebox or tabstrip on which the button is placed is disabled or not. This is one of the main reasons for this kind of a problem.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now