Sliders not possible to get disabled

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jason Charalambides

    #1

    Sliders not possible to get disabled

    Could someone please tell me how I can get a slider disabled? I click on
    "enable" and turn it to "false", I save my project, I close the VB6, then
    when I open it the next day, the sliders are enabled! I had to compile and
    make an executable and every time I open the project I need to re-disable
    the slider functions before compiling. Of course I can do that but it is
    rather annoying to do it over and over without being able to keep those
    sliders disabled. Specifically, I have a checkbox next to those sliders to
    allow the user to enable them if necessary but by default I want them
    disabled.
    Thank you in advance for the help .
    --------------------------------------------
    Jason Charalambides
    The University of Texas
    Dept. of Civil Engineering
    1 University Station C1752
    --------------------------------------------


  • MooVBuff

    #2
    Re: Sliders not possible to get disabled

    When you first initialize your application (Form1_Load) set the slider
    control to false. You may however be inadvertantly enabling the slider
    control after the form has been initialized. Check it!!!

    "Jason Charalambides" <jason-@mail.utexas.ed u> wrote in message
    news:rb6hb.1555 $7_1.1272@twist er.austin.rr.co m...[color=blue]
    > Could someone please tell me how I can get a slider disabled? I click on
    > "enable" and turn it to "false", I save my project, I close the VB6, then
    > when I open it the next day, the sliders are enabled! I had to compile[/color]
    and[color=blue]
    > make an executable and every time I open the project I need to re-disable
    > the slider functions before compiling. Of course I can do that but it is
    > rather annoying to do it over and over without being able to keep those
    > sliders disabled. Specifically, I have a checkbox next to those sliders[/color]
    to[color=blue]
    > allow the user to enable them if necessary but by default I want them
    > disabled.
    > Thank you in advance for the help .
    > --------------------------------------------
    > Jason Charalambides
    > The University of Texas
    > Dept. of Civil Engineering
    > 1 University Station C1752
    > --------------------------------------------
    >
    >[/color]


    Comment

    • Steve Gerrard

      #3
      Re: Sliders not possible to get disabled

      You may be getting fooled by the fact that when you reopen the project the next
      day, the slider "looks" like it is enabled in design view. When I put one on a
      form and disabled it, it looks disabled. When I reopen the project later, it
      looks enabled in design, but is in fact still disabled, and when I run it again,
      it is in fact disabled.

      "MooVBuff" <edoepke@comcas t.net> wrote in message
      news:L4adnVLfbZ OKShiiU-KYhw@comcast.co m...[color=blue]
      > When you first initialize your application (Form1_Load) set the slider
      > control to false. You may however be inadvertantly enabling the slider
      > control after the form has been initialized. Check it!!!
      >
      > "Jason Charalambides" <jason-@mail.utexas.ed u> wrote in message
      > news:rb6hb.1555 $7_1.1272@twist er.austin.rr.co m...[color=green]
      > > Could someone please tell me how I can get a slider disabled? I click on
      > > "enable" and turn it to "false", I save my project, I close the VB6, then
      > > when I open it the next day, the sliders are enabled! I had to compile[/color]
      > and[color=green]
      > > make an executable and every time I open the project I need to re-disable
      > > the slider functions before compiling. Of course I can do that but it is
      > > rather annoying to do it over and over without being able to keep those
      > > sliders disabled. Specifically, I have a checkbox next to those sliders[/color]
      > to[color=green]
      > > allow the user to enable them if necessary but by default I want them
      > > disabled.
      > > Thank you in advance for the help .
      > > --------------------------------------------
      > > Jason Charalambides
      > > The University of Texas
      > > Dept. of Civil Engineering
      > > 1 University Station C1752
      > > --------------------------------------------
      > >
      > >[/color]
      >
      >[/color]


      Comment

      Working...