Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Box ghost
Message
 
 
À
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:
00507853
Vues:
27
Hi!

Looks like some control is popping up occasionally. Do you have any hidden controls on that place? Are you use page frame there? Finally, if your field contains backslash ('\'), the line in the list box will be disabled and '\' is not shown.

Personally, I never met such behavior, just a suggestions to try to figure out what cause that.

The solution is also to try to remove parts of the form (after backup!) one by one until you get that disappear. The part you removed contains the code that causes such behavior. Try to use this technique...

HTH.

>>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.
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