Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Box ghost
Message
 
 
À
14/05/2001 15:08:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00506991
Message ID:
00507164
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? Do they match to the reccount() of the view? What information is there? If it is just an extra line, try to remove it.

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.

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.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform