Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List boxes (sample)
Message
De
22/09/1999 03:18:41
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/09/1999 20:24:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00267397
Message ID:
00267457
Vues:
19
>While trying to learn VFP, I copied the vfp/sample/controls files to my directory and tried to get the listmover form to work with my tables. I thought I could just change the Rowsource to File.Field and the RowSourceType to 6-Fields. It displays the proper data, but the 'mover' part of it doesn't work. If I double click on the source list, nothing happens. Or if I choose the add arrows, nothing happens. What else needs to be changed in order for it to work.
>(I removed the form's INIT code that filled the source list box with the 'one', 'two', 'three', etc. data.)


Mary,
According to previous reply your code would be like :
*Init
select myTable
with this.lstSource
  scan
    .AddItem(myTable.myField)
  endscan
endwith
While this class is no good for tables that doesn't have few records, you can use it for learning purposes and for small lookups.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform