This is a super mover list box class that automatically loads fields from the current data source when you drop it on a form.
Category | Movers |
---|---|
Default Catalog |
VisualВ FoxProВ Catalog\FoundationВ Classes\UserВ Controls |
Class |
_fieldmover |
Base Class |
Container |
Class Library |
_mover.vcx |
Parent Class |
_supermover |
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 opens a builder so you can accept or specify the appropriate SkipGeneral, SkipMemo, and AllowReadOnly values. 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 Classesfor more information on using foundation classes.
Properties, Events, Methods | Description |
---|---|
AllowReadOnly property |
Allows for a read-only datasource. Default: .F. |
AutoInit property |
Automatically run when loaded. Default: .T. |
CurrentAlias property |
The current alias determined by ALIAS(В ). Default: "" |
CurrentDBC property |
The current database file. Default: "" |
CursorType property |
Specifies the type of cursor. Default: 3 |
DBCTable property |
Name of the table in the database. Default: "" |
MultiTable property |
Specifies whether to support multiple tables. Default: .F. |
SkipGeneral property |
Specifies whether General fields are included in the list. Default: .F. |
SkipMemo property |
Specifies whether Memo fields are included in the list. Default: .F. |
TableType property |
Returns the table type - SYS(2029). Default: 0 |
AcolScan method |
Scans a specific column in the array.
Syntax:
Return: none Arguments: wztarr specifies the array to scan.wztexpr specifies the target expression for which to scan.wztcol specifies the column to scan. |
AddToArray method |
Adds sContents to the array, aAddToArray, at iRow.
Syntax:
Return: none Arguments: aAddToArray specifies the array to which to add an item.sContents specifies the addition to the array.iRow specifies in which array row to insertВ sContents. |
Alert method |
Displays a messagebox.
Syntax:
Return: none Arguments: pMessage specifies the message to be displayed by MESSAGEBOX(В ). |
FieldChange method |
Triggered when fields selected changes.
Syntax:
Return: none Arguments: nButton specifies the button pressed. |
GetTableData method |
Retrieves fields from a table. aWizFlist contains the list of fields, aCalcFields contains the list of calculated fields, aPickFields contains the list of selected fields.
Syntax:
Return:В aWizFList, aCalcFields, aPickFields Arguments: none |
InitData method |
Initializes data.
Syntax:
Return: none Arguments: none |
InitVars method |
Initializes variables used by movers.
Syntax:
Return: none Arguments: none |
JustStem method |
Retrieves the filename stem.
Syntax:
Return:В m.filename Arguments: m.filename specifies the filename from which the stem is extracted. |
SetDataProps method |
Sets data properties of the data source.
Syntax:
Return: none Arguments: none |
UpdateStatusbar method |
Internal to the class. |