Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Listbox to Highlight a row
Message
From
07/10/2003 17:21:10
 
 
To
07/10/2003 08:00:45
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00835546
Message ID:
00835964
Views:
22
>>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
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform