It all depends on what the values are and what the conditions are. Most programmers would tell you that anything is possible for the price.
You can set the Source of the List Box when the "Form_Load"
event takes place, or some other event takes place, to various conditions either using a "Case Select" Statement or a set of "if .... then else" clauses.
I would need more information, to be of more help to you.
You can change the columnwidths property of the listbox based on a value. The ColumnWidths below show that 7 columns are present in the control but only the first is displayed. Putting the property string together can be somewhat tricky though. Those columns that are hidden can still be referenced.
ListBox.Columns(2).Value
2";0";0";0";0";0";0"
----------------------
scking@arinc.com
Life is filled with lessons.
We are responsible for the
results of the quizzes.
-----------------------
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.