General information
Category:
Coding, syntax & commands
>How do I disable a row in a MULTICOLUMN listbox. For a single
>column listbox, you can use:
>
> .AddItem("\" + cText)
>
>The slash does not seem to have any effect on a multi-column
>list box
The basic idea of a listbox or combobox is that all the items in it are valid choices. So you're not really supposed to be able to disable items. As you've learned, you can disable an item with certain RowSourceTypes by preceding it with a "\". However, you should really rethink this strategy from a user interface point of view. Users expect to be able to choose anything in a list.
Okay, now that I've said that, you can disable the other columns in a listbox by using the "\" in front of the entry with the AddListItem method, which is what you need in order to populate those columns.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only