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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ahlahkeet

  1. ahlahkeet

    Button Enable/Disable Problem

    All, I've come up with a satisfactory explaination with all the info everyone has provided. Thanks everyone! Dave
  2. ahlahkeet

    Button Enable/Disable Problem

    Thanks everyone for the quick responses! I think I'm starting to understand. Will the DoEvents function clear out the events queue? I was just using the for loop as an example; perhaps that wasn't the best choice. My actual software is an HMI for an industrial lathe. Basically, while...
  3. ahlahkeet

    Button Enable/Disable Problem

    Hmmm. . . Here's a simple example of what I'm talking about. Consider a form with 2 command buttons, command1 and command2. Code follows: Private Sub Command1_Click() If Command1.Enabled Then MsgBox "You clicked me!!!" End If End Sub Private Sub Command2_Click() Dim i As...
  4. ahlahkeet

    Button Enable/Disable Problem

    Hello All, In my software, I have several buttons which the code may enable and disable at various times. My problem is, while a button is disabled (button.enabled = FALSE), if the button is clicked, the code in the button's Click() event will execute once the button has been re-enabled. So...

Part and Inventory Search

Back
Top