Question : How to modify the text of listbox in Form View

Hi,

How to modify the text/value of listbox in Form View?

I just manage to get the value by : List1.Column(0, 3)

___________________________________________________

List Box Name = List1

Row Source Type = Value List

Row Source = "Full Equipment List";"Deadline Exceeded";"Certificates Not Received After N Days";"Certification Due For The Next 7 Days";"Certification Due For The Next 8 to 45 Days";"Equipment Certified";"Equipment Overdue";"Percentage of Equipment Overdue"

Let say i want to modify the "N" in "Certificates Not Received After N Days" to a variable value. As well As modify the "Certification Due For The Next 8 to 45 Days" to "Certification Due For The Next 9 to 46 Days"?

How can i do that? Thank You.

Answer : How to modify the text of listbox in Form View

I think that you need use other control
For example Grid Control

With this Control you can insert new lines with the method Additem, delete items with removeitem, ...

Grid.Object.AddItem "Item1"
Grid.Object.AddItem "Item2"
Grid.Object.AddItem "Item3"
Grid.Object.AddItem "Item4"
Grid.Object.AddItem "Item5"
Grid.Object.AddItem "Item6"

This code insert six lines
Random Solutions  
 
programming4us programming4us