Fnd_IO
23 shared methods.
- Fnd_IO_AddMultipleRecords
- Fnd_IO_DisplayNavButtons
- Fnd_IO_DisplayRecord
- Fnd_IO_DisplayRecord2
- Fnd_IO_DisplayRecord3
- Fnd_IO_DisplayTable
- Fnd_IO_DisplayTable2
- Fnd_IO_GetWindowTitle
- Fnd_IO_Info
- Fnd_IO_InputDrawButtons
- Fnd_IO_InputFormClose
- Fnd_IO_InputFormMethod
- Fnd_IO_InputFormName
- Fnd_IO_InputFormObjectMethod
- Fnd_IO_InputFormResize
- Fnd_IO_Localize
- Fnd_IO_MultiWindow
- Fnd_IO_OutputFormMethod
- Fnd_IO_OutputFormName
- Fnd_IO_RecordEdited
- Fnd_IO_SetupToolbar
- Fnd_IO_ToolbarIconGroup
- Fnd_IO_UpdateToolbar
Fnd_IO_AddMultipleRecords
Fnd_IO_AddMultipleRecords (enable?) --> Boolean
Allows the developer to get and set the value of the Fnd_IO_AddMultipleRecords_b variable.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inEnable | Boolean | in | The new value of the setting to enable adding multiple records (optional) |
Result | Boolean | out | The current setting of the variable to indicate if the feature is enabled |
Fnd_IO_DisplayRecord
Fnd_IO_DisplayRecord ({->table{; record number}{; ShowLockedMessage}})
Displays the specified record of the table in a new process. If no table is passed, then the current form's table is used (if available). If no record number is passed, then the current record will be displayed. Pass 4D's New record constant to create a new record.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inTable | Pointer | in | Pointer to the record's table (optional) |
inRecordNumber | Longint | in | Record number (optional) |
inShowlockedmessage | Boolean | in | Show Locked Message (optional) |
Result | out | Process number of the (new?) process displaying the record. |
Fnd_IO_DisplayRecord2
Fnd_IO_DisplayRecord2 (->table; record number{; calling process})
Called from Fnd_IO_DisplayRecord to display an input form in a new window. If a calling process number is passed ($3) then that process is called if the record is saved. In this case, Fnd_IO_AddRecordNumber_i will contain the record number of the modified record.
| Parameter | Type | Direction | Description |
|---|---|---|---|
pointerTableDisplay | Pointer | in | A pointer to the table to display |
recordNumber | Longint | in | Record number |
inCallingProcess | Longint | in | Number of the calling process (optional) |
Fnd_IO_DisplayRecord3
Fnd_IO_DisplayRecord3 (record number)
Similar to Fnd_IO_DisplayRecord2, but assumes we're displaying the record in the current process rather than in a new one.
Called from Fnd_IO_DisplayRecord.
No parameters.
Fnd_IO_DisplayTable
Fnd_IO_DisplayTable (->table{; force new window})
Displays the output list for the specified table.
If the table has already been displayed in a process by this method, it is brought to the front. Otherwise a new process is created to display the table.
If the optional parameter is passed and is True, a new table is created even if one already exists.
| Parameter | Type | Direction | Description |
|---|---|---|---|
table | Pointer | in | A pointer to the table to display |
inForceNew | Boolean | in | Open a new window, even if one is already open? (optional) |
Fnd_IO_DisplayTable2
Fnd_IO_DisplayTable2 (->table)
Called from Fnd_IO_DisplayTable to display an output form in a new window.
| Parameter | Type | Direction | Description |
|---|---|---|---|
pointerTableDisplay | Pointer | in | A pointer to the table to display |
Fnd_IO_GetWindowTitle
Fnd_IO_GetWindowTitle ({->table{; record number}}) -> Text
Returns the suggested title for the current window for input forms.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inTable | Pointer | in | The table (optional) |
inRecordNumber | Longint | in | The record number (optional) |
Result | Text | out | Suggested title |
Fnd_IO_Info
Fnd_IO_Info (label) --> Text
Returns requested information. See the Fnd_Gen_ComponentInfo method for more information.
| Parameter | Type | Direction | Description |
|---|---|---|---|
request | Text | in | Info desired ("version" or "name") |
Result | Text | out | Response |
Fnd_IO_InputDrawButtons
Fnd_IO_InputDrawButtons
Called from Fnd_IO_InputFormMethod when the window is first open to draw the buttons from the inherited form.
No parameters.
Fnd_IO_InputFormClose
Fnd_IO_InputFormClose --> Boolean
Called from the Fnd_IO_InputFormMethod when the user clicks the close box or quits the database. Basically we need to ask the user if the record should be saved if it has been modified.
Returns True if the window gets closed.
| Parameter | Type | Direction | Description |
|---|---|---|---|
Result | Boolean | out | True if the window will be closed. |
Fnd_IO_InputFormMethod
Fnd_IO_InputFormMethod
Standard form method for input forms.
Handles the window title and close box on an input form.
No parameters.
Fnd_IO_InputFormName
Fnd_IO_InputFormName ({form name}) --> Text
Allows the developer to get and set the name of the input form to use.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inFormName | Text | in | The new input form name (optional) |
Result | Text | out | The input form name |
Fnd_IO_InputFormObjectMethod
Fnd_IO_InputFormObjectMethod (->form object)
| Parameter | Type | Direction | Description |
|---|---|---|---|
object | Pointer | in | Form object |
Fnd_IO_InputFormResize
Fnd_IO_InputFormResize
Called by the Fnd_IO_InputFormMethod to move the inherited buttons around.
No parameters.
Fnd_IO_Localize
Fnd_IO_Localize
Passed the localization strings to the General and (if available) Localization components.
No parameters.
Fnd_IO_MultiWindow
Fnd_IO_MultiWindow ({multi-window?}) --> Boolean
Allows the developer to get and set the multi-window setting.
Multi-window means the input forms are displayed in windows separate from the output lists. If multi-window is false, the input form is displayed in the same window as the output form.
The setting is for the current process.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inMulti | Boolean | in | True to begin multi-window mode (optional) |
Result | Boolean | out | True if we're in multi-window mode |
Fnd_IO_OutputFormMethod
Fnd_IO_OutputFormMethod
Standard form method for output forms. Call this from every output form method. Make sure the form events checked here are enabled by the form.
No parameters.
Fnd_IO_OutputFormName
Fnd_IO_OutputFormName ({form name}) --> Text
Allows the developer to get and set the name of the output form to use.
| Parameter | Type | Direction | Description |
|---|---|---|---|
inFormName | Text | in | The new output form name (optional) |
Result | Text | out | The output form name |
Fnd_IO_RecordEdited
Fnd_IO_RecordEdited ({->table; calling process}) --> Longint
Call this when a new record has been added. This routine will take care of adding it to the output list (if any).
This routine can also be called by the output list process to get the number of the most recently edited record. Once called to get the record number, it clears it so you won't accidentally get it again.
| Parameter | Type | Direction | Description |
|---|---|---|---|
table | Pointer | in | A pointer to the record's table |
inCallingProcess | Longint | in | The process number of the output form |
Result | Longint | out | The record number that was edited |
Fnd_IO_SetupToolbar
Fnd_IO_SetupToolbar
Handles the toolbar setup for the input and output forms.
No parameters.
Fnd_IO_ToolbarIconGroup
Fnd_IO_ToolbarIconGroup ({style name}) --> Text
Changes the icons in the IO forms to the specified style. Bold (default) Card Native Mac Win
| Parameter | Type | Direction | Description |
|---|---|---|---|
inSuggestedStyle | Text | in | The style name to use (optional) |
Result | Text | out | The current style |
Fnd_IO_UpdateToolbar
Fnd_IO_UpdateToolbar
Enables and disables the toolbar buttons based on whether or not the window is frontmost, the selection of records, and the highlighted records.
No parameters.