Mover Foundation Class
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
When placed on a project or form, this class provides a simple mover list box class with Move and Remove buttons.
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. Default: .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) Return: 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
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Visual FoxPro Foundation Class Samples