473,385 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1605
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: | last post by:
Is it possible for a user to enable permanent cookies but disable session cookies.....this seems like a contradition yet this is what I appear to be reading in online articles?
1
by: Kruse | last post by:
Hi, Is Possible to alter the "disabled" style? I have got <input name="test" value="1" disabled> This makes the input field gray and shadow.
2
by: Jack | last post by:
Hi, I have the following javascript that is written in html. It works great. However, I need to transfer the concept to an asp application where the form itself is an asp page. I was wondering if...
1
by: Deano | last post by:
Hi, I need to disable a command button at some point. Easy enough. Initially in design view it is set as enabled. Now once I disable it, how can I ensure that when the app is restarted, the...
3
by: adam.sherratt | last post by:
Ayup! I am currently working on a Capacity Planning project for my office, and i'm interested to hear your thoughts on the best way to approach something. here's the scenario; The...
23
by: mosesdinakaran | last post by:
Hi All, I need a small clarification in submitting the forms, Ur suggestions please. In a page I have two form and also two submit butons. (ie)
0
by: WLigtenberg | last post by:
Hi, I'm looking for a Scale like Tkinter widget that has two sliders, so that the user can select both the upper and lower bound of some dataset. Much like the widgets used in spotfire:...
0
by: wishbone34 | last post by:
I have come across a problem when using JSlider: I Know how to use sliders, the rest of my code has a few other sliders, they all work fine, but for this slider, when I use the setValue function, it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.