> Hi List! > > I have a problem with a complex Listbox containing several hidden columns. > When I enable "ColumnsResizable" it does show also the hidden rows after > the resize and I see no way to prevent that. > > Any clues? > > Cheers, > Tom
Hey Tom, There are two modes for a listbox. The mode is implicitly set depending on if you leave a columnwidth blank/use an asterisk or not. This mode affects whether resizing reveals a zero width column next to it. Here's the somewhat cryptic description from the LR that I always go back to when I struggle with this: Resizing Columns There are two "modes" for column resizing. There is no formal mode property. Rather, the "mode" is implicitly set according to whether every column width is specified as an absolute amount. If you specify all columns either in pixels or as a percentage, you will be using the second mode. If you use an asterisk or leave a column width blank, you will be using the first mode. A change to one column width affects the width of another column. If column i gets bigger, column i+1 gets smaller by the same amount. This mode is great when using a ListBox without a horizontal scrollbar. You turn this mode on when you have at least one column width that is blank, or specified using an asterisk (e.g. "", " ", "*", or "4*") NOTE: By design you can't resize the right edge of the last column in this mode. To resize the last column you need to resize the previous column. Each column width is independent and can grow or shrink on its own. You are responsible when the user does this, and you need to provide a horizontal scrollbar so that the user can get to the any headers that have been pushed out of view to the right. You enable this mode by making sure every column width is specified in terms of an absolute pixel width, or a percentage width (e.g. "20", or "35%"). If you use an asterisk or leave a column width blank, you will automatically be using the first mode. You can switch between mode 1 and 2 at runtime using the same criteria as above. HTH, Keith DeLong _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
