Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable the cmd button once the action is done. 1

Status
Not open for further replies.

rbasram

Programmer
Sep 27, 2001
53
0
0
CA
I have a cmdbutton on the form, I want to disable the cmd button once the user had already clicked it. I mean I don't want the user to click the button twice. Is there a way to do it.
Can we disalble the control in the on_click event I mean at the end of the procedure..


 
Hi!

Yes you can set the enabled property to false at the end of the procedure, but you will need to set the focus to another control first.

hth Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top