Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Force Listbox to Highlight a row
Message
From
07/10/2003 08:17:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
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:
00835708
Views:
19
>>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?

Renoir,
Property is disabled in PEM sheet (at designtime) but in code it's enabled.
ie: Init
this.Listindex = 1

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform