Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Forms & Form designer
>>>Then I would delete that object off of your form and re-add it. There is no reason that property should be disabled.
>>
>>There must be more to it than that. I added a new listbox using the toolbar and the ListIndex property is already disabled. Does it depend on the RowSource? Any ideas? Anyone?
>>
>>UPDATE - From the Help: "Specifies the index number of the selected item in a ComboBox or ListBox control. Not available at design time; read-write at run time."
>>
>>So, the issue must be something different. Is there any reason that I would not be able to assign a value to the ListIndex property at runtime?
>
>Why do you say you can't assign a value at runtime? Do you get an error? Which one?
>
>Note: Design time <> runtime
Got that. That's why I put the "UPDATE" in there. I saw he text in the help after I posted the first paragraph and updated the post with the latter text. Anyway, the error went away with a rebuild of my entire project and it works ok now. Must have been a problem in my scx or something.
Previous
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