Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force Listbox to Highlight a row
Message
De
07/10/2003 08:17:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/10/2003 08:00:45
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00835546
Message ID:
00835708
Vues:
20
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform