[AccessD] enabled & disabled command buttons

Jim DeMarco Jdemarco at hshhp.org
Fri Feb 7 14:04:00 CST 2003


Oleg,

Try this:

Private Sub Command0_Click()
    Command1.Enabled = True
    Command1.SetFocus
    Command0.Enabled = False
End Sub

HTH,

Jim DeMarco
Director of Product Development
HealthSource/Hudson Health Plan


-----Original Message-----
From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com]
Sent: Friday, February 07, 2003 2:42 PM
To: accessd at databaseadvisors.com
Subject: [AccessD] enabled & disabled command buttons


oops, I forgat to change the subject in my last post :((

I have to do form where one button is enabled, rest are disabled. Once u
click on the first button, it becomes disabled, and the next one enabled.
I don't quite see how I can disable a button while its still got the focus...



-----------------------------------------
Send a Xuppa Valentine to Your Sweetheart today!
http://www.xuppa.com/greet/


_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************




More information about the AccessD mailing list