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

Click here to load this message in the networking platform