469,271 Members | 1,466 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

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
--------------------------------------------
Jul 17 '05 #1
2 1498
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" <ja****@mail.utexas.edu> wrote in message
news:rb*****************@twister.austin.rr.com...
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
--------------------------------------------

Jul 17 '05 #2
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" <ed*****@comcast.net> wrote in message
news:L4********************@comcast.com...
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" <ja****@mail.utexas.edu> wrote in message
news:rb*****************@twister.austin.rr.com...
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
--------------------------------------------


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Kruse | last post: by
3 posts views Thread by adam.sherratt | last post: by
23 posts views Thread by mosesdinakaran | last post: by
reply views Thread by WLigtenberg | last post: by
reply views Thread by wishbone34 | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.