Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

few Qs about unbound ListBox

Status
Not open for further replies.

MaharajanM

Programmer
Oct 9, 2002
10
JP
Hi All,

I have a single selection listbox containing 2 columns with column heading, like below in MS Access form. Value added using "Value List" row resource type.

<heading1> |<heading2>
<row1col1> |<row1col2>
<row2looooooong|<row2col2>

1) firstcolumn of row2 is very long and so the string is trancated in the display. Is there any way to set the column width dynamically depending on the length of item strings.

2) when a item is selected by mouse and after that if i added new items

by RowResource = &quot;new items;sss&quot; the new items is displayed and then if the old items is added agian in listbox, the old selected item is in still selected condition. Why?

3) How can we deselect all the list items, through code.

Thanks for any help,
Maharajan



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top