English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have created 5 checkboxes and their captions are A, B, C, D, E respectively. After the user clicks on all the desire checkboxes and clicks calculate. I need the captions of the textbox to be displayed as a list. What would be the code to do that??

2007-02-19 03:53:16 · 3 answers · asked by Kino K 1 in Computers & Internet Programming & Design

3 answers

IF chkBoxA.checked = True THEN
List1.addItem (chkBoxA.caption)
End If

2007-02-19 04:40:47 · answer #1 · answered by rod 6 · 0 0

check out http://www.pscode.com for great sample codes. Since you didn't mention what version VB (.NET or previous) you were using, I can't be of any more help than that.

2007-02-19 09:00:36 · answer #2 · answered by Richard H 7 · 0 0

make the list, and enable the control. as show().
that's the simplest answer. unless you can be more specific.

2007-02-19 04:21:03 · answer #3 · answered by The_Amish 5 · 0 0

fedest.com, questions and answers