Announcement

Collapse
No announcement yet.

Determine if text box has focus

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    I've just learnt something new.

    I thought that
    Code:
     CONTROL ADD TEXTBOX, hWin, %txt_01, "Textbox 01", 5,  5, 290, 20
    had to be
    Code:
     CONTROL ADD TEXTBOX, hWin, %labels.txt_01, "Textbox 01", 5,  5, 290, 20
    I have never noticed the SINGULAR parameter to ENUM before.

    Note the self: again!

    Comment


    • #22
      Hey Stuart!

      Your comment made me realize I've never named variables using the Enum "Name" in the variable, as per your example. I guess I latched on to the Singular option on the first pass and never tried out the other option. I had to look at Help to figure out what you meant.

      Comment


      • #23
        Originally posted by Gary Beene View Post
        Hey Stuart!

        Your comment made me realize I've never named variables using the Enum "Name" in the variable, as per your example. I guess I latched on to the Singular option on the first pass and never tried out the other option. I had to look at Help to figure out what you meant.
        Between us, we pretty much had it all figured out. Now who will complete our trio by saying they didn't realise that BIT incremented the variables by powers of two.

        Comment

        Working...
        X