473,439 Members | 1,828 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,439 software developers and data experts.

assigning value for unbound checkbox


this must be obvious and i'm missing it...............

i want to have 4 checkboxes in a groupbox - box1 value = 1, box2 = 2, box3 =
4, box4 = 8

these ctrls are not bound...I want to assign these values..

how do i do this (i.e. what property in the IDE property window do i use)?

also - can i get the groupbox value to reflect the sum of the selected
checkboxeswhile i'm at it?

argh...

thanks )
Nov 23 '05 #1
3 1654
Hi,

You can store a value in the checkbox's tag property.

http://msdn.microsoft.com/library/de...sstagtopic.asp

Ken
-----------------
"astro" <as***@mnrr.com> wrote in message
news:3T************@tornado.rdc-kc.rr.com...

this must be obvious and i'm missing it...............

i want to have 4 checkboxes in a groupbox - box1 value = 1, box2 = 2, box3
= 4, box4 = 8

these ctrls are not bound...I want to assign these values..

how do i do this (i.e. what property in the IDE property window do i use)?

also - can i get the groupbox value to reflect the sum of the selected
checkboxeswhile i'm at it?

argh...

thanks )

Nov 23 '05 #2
Astro

Have a look at the bindingevents

http://www.vb-tips.com/default.aspx?...9-4deb7fa4a0b8

Start reading at the bottom, here it is done with a date because that is
mostly the most difficult.

I hope this helps,

Cor
"astro" <as***@mnrr.com> schreef in bericht
news:3T************@tornado.rdc-kc.rr.com...

this must be obvious and i'm missing it...............

i want to have 4 checkboxes in a groupbox - box1 value = 1, box2 = 2, box3
= 4, box4 = 8

these ctrls are not bound...I want to assign these values..

how do i do this (i.e. what property in the IDE property window do i use)?

also - can i get the groupbox value to reflect the sum of the selected
checkboxeswhile i'm at it?

argh...

thanks )

Nov 23 '05 #3
thanks Ken & Cor ))

"astro" <as***@mnrr.com> wrote in message
news:3T************@tornado.rdc-kc.rr.com...

this must be obvious and i'm missing it...............

i want to have 4 checkboxes in a groupbox - box1 value = 1, box2 = 2, box3
= 4, box4 = 8

these ctrls are not bound...I want to assign these values..

how do i do this (i.e. what property in the IDE property window do i use)?

also - can i get the groupbox value to reflect the sum of the selected
checkboxeswhile i'm at it?

argh...

thanks )

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bill | last post by:
I have a catalog of books which need to be categorized into different groups. Some of the books can be listed under more than one category. I'm creating a page where I can assign a group of books...
6
by: Megan | last post by:
Hi everybody- I'm trying to use a checkbox to control whether or not a date field in a query "Is Null" or "Is Not Null." I have 2 date fields: InDate and OutDate. If there is an OutDate, then...
1
by: Jesper DK | last post by:
Hi, I'm making a 'settings dialog' for my program with a seperate form and the ShowDialog(). However, initializing the controls with values, writing eventhandlers to store changes when e.g a...
4
by: deko | last post by:
Basic question about checking the value of Toggle/Check/Combo/OptionGroups.... Checking like this: If Me!chkCheckBox Then ... End If and like this:
1
by: keithb | last post by:
How can I relate data in the bound columns of a GridView control to an unbound checkbox in a template column in the same row? The checkboxes indicate which rows are to be deleted when an update...
1
by: John | last post by:
Hi I am trying to add an unbound tick box to a bound grid using Edit Columns option. Problem is that when I select CheckBoxField, the Add button gets disabled. What is the problem and how can I...
7
by: ARC | last post by:
I've noticed that if you use code for the before update command for unbound controls, it doesn't really work. I tried the following: Me!ExportedYN.undo Cancel = True DoCmd.CancelEvent Exit...
4
by: Benysh | last post by:
Hi everyone. I'm having a really annoying problem I can't solve and couldn't find an answer to anywhere, let's see if you got what it takes. I have a dataGridView on a C# Windows Form. Unbound....
7
by: HSXWillH | last post by:
I am designing an inventory system and am stuck on a potential problem. I have a table of Stock_Catalog containing the following fields: Stock_ID (random autonumber), Full_Desc, Serial, Auto,...
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
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.