Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List box question
Message
De
16/08/2003 19:29:29
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00820688
Message ID:
00820842
Vues:
20
Hi Sergey

I tried a vfp base list box and I get this behavior when multiselect = .t.. I works just like I want it with multiselect = .f..

Thanks.


>Hi Jim,
>
>I don't understand why do you have this problem at all. The record in a listbox should be highlighted regardless how you move between lines. It's possible that something in your code that cases such effect.
>
>>Thanks Sergey
>>
>>That did not help.
>>
>>I tried adding this.Selectedid[this.ListIndex] = .t. and that did make the new row selected. But I can't seem to find an event that I can turn the old row selected off. This does work but is seems to be such a kludge.
>>
>>
>>lnSelectedRow = this.ListIndex
>>this.selectall(.f.)
>>this.Selectedid[lnSelectedRow] = .t.
>>this.parent.requery("tickets")
>>
>>Seems to work the same in both the when and interactivechange events.
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform