473,445 Members | 1,880 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to disable checkbox once it's been checked?

I have form that needs to be checked by four people. I need to show the check marks on the form and once they have checked the box they cant change it.
Jan 23 '11 #1
5 2577
Guido Geurs
767 Expert 512MB
With this code You disable the checkbox

Expand|Select|Wrap|Line Numbers
  1. Private Sub Check1_Click()
  2.    Check1.Enabled = False
  3. End Sub
For the next start-up of the program: You need to save the settings of the checkboxes in a file wich You load on start-up of the program.
Jan 23 '11 #2
thanks for the info. I am a beginner. So, Im sorry but i just dont get it. See I am trying to have a user look at a form critque it. then on the form they check their name and the form goes to the next user they look at it and so on so once check cant change it. do i need a table for each users check mark?
Jan 23 '11 #3
Guido Geurs
767 Expert 512MB
Is this in VBA (for Word or Excel) or in a program in VB60 ?
Jan 24 '11 #4
Guido Geurs
767 Expert 512MB
Is this the same call as "How to use check boxes to review a form and once checked its permanent?" ????
Jan 24 '11 #5
Again thanks for your help,I used that code and when I click on the box it just stays gray with no check mark.
Jan 24 '11 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: dx | last post by:
I'm extremely frustrated with ASP.NET...again! To me this should be as simple as setting oCheckBox.Checked = True.. yet for some reason it isn't. I have a user control (ascx) that that has a...
7
by: sheldonlg | last post by:
I have a checkbox that I set by php code to be either "checked" or "". I want to disable the ability of the user to check or uncheck it. I tried "readonly", but that didn't work. Any suggestions?
4
by: Maarten | last post by:
I have a bound-checkbox. The database value = 0 but the checkbox got checked? Why is that? What value should be in the database for being not checked then? tia
3
by: James Lennon | last post by:
Does anyone know how to disable a single check box in a Windows Forms TreeView control.
3
by: sankarpulivarthi | last post by:
Hi i have a checkbox in first datagridview . when it is checked it should get that row values.and iam trying to display that checked row values in a second datagridview after clicking a button....
5
by: widevision7 | last post by:
I have a web site that uses the following JavaScript to hide <div> sections: <script type="text/javascript"> function showMe (it, box) { var vis = (box.checked) ? "block" : "none";...
11
by: radink | last post by:
Hey All, I have a report that I would like to show a word on based on if a field is checked in a form. For example. The form has a check box called Fee. If that is checked, I want the word Paid...
0
acoder
by: acoder | last post by:
Problem Dynamically appended checkbox element does not appear checked despite setting the checked property state to true or "checked". Browser Internet Explorer Example The Javascript code:...
6
by: beary | last post by:
This is embarrassing, but I have a form pulling data from mysql using php. Lots of different checkboxes in it. When user checks one or more boxes, all goes well; values are added and db is updated....
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.