I work in a project with 12 chekbox(12 monthname) and a textbox. when I check a box a month
name like "january" show in textbox. when I check another checkbox "February" show in that
textbox after january. like "January February" as like same 12 checkbox. but when I uncheck
any checkbox the textbox become blink. coz I write code
if check1.value = 1 then
text1.text = "january"
else
text1.text = ""
end if
if check1.value = 1 and check2.value = 1 then
text1.text = "january February"
end if
I write it with a module. but I want when I uncheck a checkbox it will erase that monthname
others monthname will show in textbox. if there is any other way to do this like listbox,
or other then help me please or help me with this project.
abu taher
34
Practically a Posting Shark
Recommended Answers
Jump to Posthi. you're transferring all the data to text1 and you also clear it when you uncheck a button.
so its better if you uncheck a checkbox, just clear the text1 then just get all the value of checkboxes then place it on the textbox but you have do it in ā¦
Jump to PostHi,
An Easier way out is Control arrays..
In a New Form, Place a CheckBox Control on the from from the tool box, copy and Paste, VB will ask if you want to create control array, say yes, add 12 Times,
all of them will have a same name, ā¦
All 8 Replies
AUGXIS
1
Light Poster
QVeen72
104
Posting Shark
abu taher
34
Practically a Posting Shark
abu taher
34
Practically a Posting Shark
sganandhsg
0
Light Poster
abu taher
34
Practically a Posting Shark
kain_mcbride
12
Light Poster
kain_mcbride
12
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.