Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Force Listbox to Highlight a row
Message
De
06/10/2003 17:47:16
 
 
À
06/10/2003 17:45:18
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:
00835562
Vues:
17
>>>VFP6 - For some reason I have a listbox that refuses to highlight a row when the form is first initialized. What is the accepted way to do this? The source is an Alias and I'm already making sure I'm on the first record and doing a Refresh of the listbox. Thanks!
>>>
>>>Regards, Renoir
>>
>>How about a this.ListIndex=1 in the .Init ?
>
>I tried that but get an error. I looked at the property in design and the property is disabled and italicized. The listbox is not part of a class. Any ideas?

Then I would delete that object off of your form and re-add it. There is no reason that property should be disabled.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform