Programming & Design
Question:
In VB6.0: What is the code to add all numbers/values in listbox?(i used checkbox to enter values in listbox.)?
jay sparrow
2009-07-07 05:00:45 UTC
In VB6.0: What is the code to add all numbers/values in listbox?(i used checkbox to enter values in listbox.)?
Three answers:
has_infoooo
2009-07-09 01:58:20 UTC
hi
try this :
private sub check1_click()
if check1.value=1 then
list1.additem check1.caption
end if
end if
end sub
u do this for every checkbox u have
bye for now
anonymous
2009-07-07 12:16:46 UTC
Run through the ListIndex with a For loop, and add the Val() of each .Text property.
Nid
2009-07-07 12:12:39 UTC
you can add values in listbox from its' list property.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...