Microsoft KB Archive/135610

= How to Use the MoverLists Object Class with a Table Field =

Article ID: 135610

Article Last Modified on 2/15/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q135610



SUMMARY
Visual FoxPro ships with a MoverLists object in the Samples.vcx class library. The MoverLists object is used in the Controls sample application. You can use it to display information from a table field.



Step-by-Step Example
To use the MoverLists object to display information from a table field, follow these steps:  Create a new form. On the File menu, click New, and select Form from the New dialog box. On the Form Control toolbar, click the View Classes button, and select Add. Then select Samples.vcx from the Vfp\Samples\Controls directory. Click the MoverLists button on the toolbar. Add the MoverLists class to the form. Make sure the name of the Add object to the form is MoverLists1.  In the Init event procedure for the form, add this code: candropicon=.f. &&Do not rename or remove this one it is                  &&used by the moverlists object nodropicon=.f. &&Do not rename or remove this one it is                  &&used by the moverlists object SET ORDER TO contact SCAN THISFORM.moverlists1.lstsource.additem(customer.contact) ENDSCAN  Add the customer table to the form's data enviornment by clicking the secondary (right) mouse button and selecting the Customer table from Vfp\Samples\Data directory. Save the form and run it.</ol>

Additional query words: 3.00 VFoxWin

Keywords: KB135610

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.