Mover Foundation Class
When placed on a project or form, this class provides a simple mover list box class with Move and Remove buttons.
Category |
Movers |
---|---|
Default Catalog |
Visual FoxPro Catalog\Foundation Classes\User Controls |
Class |
_mover |
Base Class |
Container |
Class Library |
_mover.vcx |
Parent Class |
_container |
Sample |
...\Samples\Solution\Ffc\movers.scx |
Remarks
To use, drop the class on a project or form or, from the Component Gallery Item shortcut menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class list box controls and move buttons on the form. You can then specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.
See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.
Properties, Events, Methods |
Description |
---|---|
aChoices[1,0] property |
The array of available choices in the left list box. Default: .F. |
aSelections[1,0] property |
The array of selected items in the right list box. Default: .F. |
UseArrays property |
Specifies whether to use arrays for the list boxes. Defa ult: .T. |
InitChoices method |
Initializes the choices array. Syntax: InitChoices(@aChoices) Return: none Arguments: aChoices specifies an array of initial choices. |
InitSelections method |
Initializes the selections array. Syntax: InitSelections(@aSelections) Re turn: none Arguments: aSelections specifies the array of initial selections. |
GetSelections method |
Retrieves the selected items. Syntax: GetSelections(@aSelections) Return: none Arguments: aSelections specifies the name of the array containing the target selections. |
PopList method |
The routine to populate list boxes. Syntax: PopList(@aListArray, oLstRef) Return: none Arguments: aListArray specifies the items with which to populate the list.oLstRef is a reference to the control object. |
OldlSelectedItem property |
Internal to the class. |
OldrSelectedItem property |
Internal to the class. |
SortLeft property |
Internal to the class. |
Updated property |
Internal to the class. |
SizeToContainer method |
Internal to the class. |
ValidItem method |
Internal to the class. |
See Also
Concepts
Guidelines for Using Visual FoxPro Foundation Classes
Reference
Visual FoxPro Foundation Classes A-Z