Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mover listbox
Message
 
À
16/08/2002 10:00:41
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Divers
Thread ID:
00689910
Message ID:
00696618
Vues:
13
Hi Steve
Guess what, I've got that same problem where the source mover listbox only shows first item ( even through there are 66 in the table). Am using VFP 7 and CM 7. Am using the frmdataformcustom and put the array code in the form init event. I've never used the mover listbox before so have no experience to rely on. Here is the code. Maybe you can spot something.
*================
LOCAL m.count
if used ("names")
SELECT names
else
select 0
use (locfile("names.dbf","DBF","Where is names?"));
again alias names
endif
SCATTER MEMVAR MEMO
COUNT TO m.count
IF EMPTY(m.count)
WAIT WINDOW "No names records in this Module" NOWAIT
USE
RETURN
ENDIF
DIMENSION aList[m.count], aPicked[m.count]
COPY TO ARRAY aList FIELDS names.name_id
thisform.cntmoverlistpair1.setvalue(@aList, @aPicked)
return dodefault()
*====================
All help appreciated.
Bill
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform