Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Box ghost
Message
De
16/05/2001 10:47:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00506991
Message ID:
00507841
Vues:
24
>Hi!
>
>Strange. Can you look to the ListCount, LIST[ListCount,columnnumebr] and other properties of the second listbox after requery just when that line appear?

Yes

>Do they match to the reccount() of the view?

Yes

>What information is there? If it is just an extra line, try to remove it.

What I get is a grey line over the data of the last line in the listbox. The view is correct, the inforamtion for the last line seems to be there. As soon as I move into the second listbox with the mouse the grey line disappears and the data is list as it should be.

>Finally, the reason could be in the internal events not precessed correctly. Try doevents or just set _VFP.AutoYield property to allow processing of internal events between code line executing.

AutoYield is .t. --
>
>HTH.
>
>>I have a form with two listboxes, both are RecordSource type 'alias', each pointing to a different local view.
>>
>>The second box displays the local view of the child records of the record selected in the first list box.
>>
>>When I switch selections in the first listbox from a selection with two child records to one with three child records the last line in the second, child listbox is covered by a "gray ghost" line.
>>
>>If I move into the second listbox the ghost line disappears.
>>
>>I have tried to programmaticlly switch focus to the second list box, then back to the first list box. It does not help.
>>
>>The child parameterized view for the second listbox is requeried from the InteractiveChange of the first listbox.
Best Regards
Don Simpson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform