Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mover listbox
Message
De
15/08/2002 08:43:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Mover listbox
Divers
Thread ID:
00689910
Message ID:
00689910
Vues:
54
I have used the mover listbox on several occasions.
I drop it on my form and use the following code to populate the box. THis has worked fine for me in the past until I tried it with the form class frmdatachild, where the child form shares the same data session as the calling parent form. It loads up and the left side of the mover box populates fine. But when I go to move one of the items to the right side I get an hourglass. It never terminates, I have to crash foxpro to get it closed. any suggestions?

LPARAMETERS oCaller

LOCAL lcJob
lcJobNum=inspparams.jobnum
************ get list
Dimension aList(1), aPicked(1)
select alltrim(inspparams.feature);
from ('inspparams');
WHERE inspparams.jobnum=(lcJobNum);
into array aList
thisform.mymover.setvalue(@aList,@aPicked)
**************************************************************

****no code below return line
RETURN DODEFAULT(m.ocaller)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform