All Controls Disabled

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • eBob.com

    #1

    All Controls Disabled

    I have a really simple application - I've just started it so at this point
    99% of the code is generated by VS. When it comes up all of the controls
    are disabled, i.e. greyed out. Even if I explicitly set Enabled = True for
    one of the controls in the Load handler the control remains disabled! Could
    this be because I named the form something other than "Form1"?

    Thanks, Bob


  • Tony Wissler

    #2
    Re: All Controls Disabled

    Are the "disabled" controls on some sort of container control?
    - if so, is the 'enabled' property of the container control set to TRUE?

    "eBob.com" <eBob.com@total lybogus.comwrot e in message
    news:eMVEFvrvHH A.3744@TK2MSFTN GP03.phx.gbl...
    >I have a really simple application - I've just started it so at this point
    >99% of the code is generated by VS. When it comes up all of the controls
    >are disabled, i.e. greyed out. Even if I explicitly set Enabled = True for
    >one of the controls in the Load handler the control remains disabled!
    >Could this be because I named the form something other than "Form1"?
    >
    Thanks, Bob
    >

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: All Controls Disabled

      "Tony Wissler" <tewissler@gmai l.comschrieb:
      Are the "disabled" controls on some sort of container control?
      .... or the form (which is also a control) is disabled.

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      • eBob.com

        #4
        Re: All Controls Disabled - Thanks Tony and Herfried ...

        .... the entire form was disabled. Must have been an inadvertent mouse
        click. It never occurs to me to look for the obvious.

        THANKS! Bob


        "eBob.com" <eBob.com@total lybogus.comwrot e in message
        news:eMVEFvrvHH A.3744@TK2MSFTN GP03.phx.gbl...
        >I have a really simple application - I've just started it so at this point
        >99% of the code is generated by VS. When it comes up all of the controls
        >are disabled, i.e. greyed out. Even if I explicitly set Enabled = True for
        >one of the controls in the Load handler the control remains disabled!
        >Could this be because I named the form something other than "Form1"?
        >
        Thanks, Bob
        >

        Comment

        Working...