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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement