By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,143 Members | 1,854 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,143 IT Pros & Developers. It's quick & easy.

assigning value for unbound checkbox

P: n/a

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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.