Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listboxes bug in VFP9
Message
De
24/08/2005 13:30:39
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01042967
Message ID:
01043485
Vues:
38
We've seen something kind of similar to this, where a listbox is inaccessable on a page when the refresh is called on another, non-active page which contains a listbox in the same position.

If this is the problem, you can work around it by not calling the refresh of the non-active page.
>>You mentioned that in your app the listbox appears on a page.
>>
>>By any chance, is the refresh of another page being called from the Activate, or some other method, on the page with the inaccessible list box?
>>
>A little bit more info:
>
>The form has a combobox and 4 listboxes one under another visually. The visible property of listboxes is not changed in run-time. The listboxes have code in LostFocus and InteractiveChange. Originally all listboxes appear blank (empty) and only after you select items, the next listbox (which is right under) gets populated. We're unable to select the last (fourth) listbox in VFP9.
>
>Here is the code from InteractiveChange event of the ListBox.
>
>LOCAL luRetVal
>
>luRetVal = DODEFAULT()
>thisform.refreshpagedata(this.name)
>RETURN luRetVal
>
>And the RefreshPageData has some heavy code using thisform.pgfOthers.page1.&lcObjName.
Jim Saunders
Microsoft
This posting is provided “AS IS”, with no warranties, and confers no rights.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform