Language reference
Commands
327 extracted command and hook entries from the legacy Foundation manual.
| Command | Component | Summary |
|---|---|---|
| Fnd_Art_About | Art | The Fnd_Art_About routine displays the About Box dialog in a new process. |
| Fnd_Art_Info | Art | This function returns the requested information about the Art component. $version_t:=Fnd_Art_Info ("version") |
| Fnd_Art_SetAboutForm | Art | The Fnd_Art_SetAboutForm routine installs a project form to use instead of the default About form. You must use a project form not a table form. The window size of the About... |
| Fnd_Art_SetStartupDialogForm | Art | Fnd_Art_SetStartupDialogForm allows the developer to specify the project form to display during startup. You must use a project form not a table form. This routine installs a... |
| Fnd_Art_StartupDialog | Art | Fnd_Art_StartupDialog displays the startup window in a new process. |
| Fnd_Art_StartupDialogClose | Art | Fnd_Art_StartupDialogClose closes the startup message. This routine is safe to call even if no startup message was displayed. The startup dialog is designed to stay open for at... |
| Fnd_Art_StartupDialogFormMethod | Art | The Fnd_Art_StartupDialogFormMethod routine must be called from the startup dialog’s form method, even if a custom form is used. Call this method from your custom startup... |
| Fnd_Bttn_CreateButton | Buttons | Use this routine in the On Load phase to quickly set up a picture button on a 4D form. Pass this routine a pointer to a picture button form object, a picture variable to hold... |
| Fnd_Bttn_GetPicture | Buttons | This routine returns a picture of a rollover based on the parameters you pass for the icon, text, size and type. The Buttons component caches the images it creates, so if the... |
| Fnd_Bttn_GetPictureName | Buttons | This routine returns the name that is used to store the specified picture button image in the cache. It has been exposed specifically for use only by the Toolbar component.... |
| Fnd_Bttn_GetPictureWidth | Buttons | Fnd_Bttn_GetPictureWidth returns the width of the rollover picture that uses the specified icon and text. $buttonWidth:=Fnd_Bttn_GetPictureWidth ("Fnd_Bttn_Wrench";"Special... |
| Fnd_Bttn_Info | Buttons | This routine returns the requested information about the component. $version_t:=Fnd_Bttn_Info ("version") |
| Fnd_Bttn_Platform | Buttons | Call this routine to specify the platform style to use when creating the next button image. The platform value must be either “Auto,” “Mac,” or “Win.” Fnd_Bttn_Platform ("Mac")... |
| Fnd_Bttn_SetBackgroundPict | Buttons | If you would like to design your own artwork to be used as a button background, pass images to these button parts using this method. GET PICTURE FROM... |
| Fnd_Bttn_SetTextProperties | Buttons | Fnd_Bttn_SetTextProperties sets the text properties for the button labels. Call this routine before calling the Fnd_Bttn_CreateButton, Fnd_Bttn_GetPicture, or... |
| Fnd_Bttn_Style | Buttons | Pass a style name to set the button style to use when drawing the next button image. See the beginning of this chapter for examples of each style. Fnd_Bttn_Style ("Small2") |
| Fnd_Data_EmailAddressError | Data | The Fnd_Data_EmailAddressError function checks the validity of an e-mail address. Function returns 0 if e-mail is valid and 1 if invalid. If (Fnd_Data_EmailAddressError... |
| Fnd_Data_FormatBypassKey | Data | The Fnd_Data_FormatBypassKey routine allows the user to bypass data entry formatting. The current data entry field's format definition is ignored if the user presses the bypass... |
| Fnd_Data_FormatError | Data | The Fnd_Data_FormatError function returns the last formatting error. This function allows the developer to detect if any of the data formatting routines had a problem trying to... |
| Fnd_Data_FormatPhone | Data | The Fnd_Data_FormatPhone function formats text of a phone number. Function returns the formatted phone number as 000-000-0000 or 000-0000 depending on the length of the phone... |
| Fnd_Data_FormatPostalCode | Data | The Fnd_Data_FormatPostalCode function formats text of a postal code. Function returns the formatted postal code as 00000 or 00000-0000 depending on the length of the postal... |
| Fnd_Data_FormatText | Data | The Fnd_Data_FormatText function formats text by stripping any leading or trailing spaces, removes any double spaces from within the text and capitalizes the first letter of... |
| Fnd_Data_FormatWebURL | Data | The Fnd_Data_FormatWebURL function formats text of a web URL. Function returns the formatted web URL. Self->:=Fnd_Data_FormatWebURL (Self->) |
| Fnd_Data_Info | Data | This function returns the requested information about the Data component. $version_t:=Fnd_Data_Info ("version") |
| Fnd_Data_ParseName | Data | The Fnd_Data_ParseName command parse text of a person's name. The command attempts to split the person's full name into separate parts while removing titles such as Mr. Mrs.... |
| Fnd_Date_Calendar | Date | The Fnd_Date_Calendar routine displays a small calendar window and allows the user to select a date which is stored in the field or variable that the parameter points to. The... |
| Fnd_Date_DateAndTimeToISO | Date | This function returns an ISO 8601 formatted date or date-time value. If only a date is supplied, a calendar date is returned in the format YYYY-MM-DD. If both a date and time... |
| Fnd_Date_DateToString | Date | |
| Fnd_Date_EndOfMonth | Date | This function returns the last day of the month passed. $endofthemonth_d:=Fnd_Date_EndOfMonth ([Invoice]InvoiceDate) |
| Fnd_Date_EntryFilter | Date | This method interprets what has been entered as a date. If the function key is pressed, the following actions take place. |
| Fnd_Date_Info | Date | This function returns the requested information about the Date component. $version_t:=Fnd_Date_Info ("version") |
| Fnd_Date_ISOtoDate | Date | This function returns the date value from an ISO 8601 formatted date. The input can be in either of these formats: YYYY-MM-DD or YYYY-MM-DDThh:mm:ss... |
| Fnd_Date_ISOtoTime | Date | This function returns the time value from an ISO 8601 formatted date-time string. The input can be in either of these formats: YYYY-MM-DDThh:mm:ss or hh:mm:ss... |
| Fnd_Date_MonthName | Date | This function returns name of the month with the specified number. This routine will use Foundation's Localization routine, if it is available, to return the localized month... |
| Fnd_Date_RoundTime | Date | This function rounds the time based on the rounding option, default is to round to the nearest quarter hour. If option is 1, round up or down to the nearest quarter hour. If... |
| Fnd_Date_StringToDate | Date | 04 or 4 Returns the 4th day of the current month 74, 704 and 074 are not supported "Today" returns the $today_date "Yesterday" returns the $today_date -1 "Tomorrow" returns the... |
| Fnd_Date_SystemDateFormat | Date | This function returns a string that can be used in If and Case statements to test the current system's date format. It will return Y, M, and D based in the following format:... |
| Fnd_Date_YearMonthDayToDate | Date | This function returns the date equivalent of the year, month and day passed. $date_d:=Fnd_Date_YearMonthDayToDate (2001;12;3) |
| Fnd_Dict_DataType | Dictionary | This routine returns the data type of a key. The data type is a number which corresponds to 4D’s standard data type constants: Is Text Is Longint Is Real Is Boolean Is Date Is... |
| Fnd_Dict_GetArray | Dictionary | This method returns an array of values from a dictionary given a key. |
| Fnd_Dict_GetBoolean | Dictionary | This function returns a Boolean value with the specified key from a dictionary. |
| Fnd_Dict_GetDate | Dictionary | This function returns a 4D Date value with the specified key from a dictionary. |
| Fnd_Dict_GetLongint | Dictionary | |
| Fnd_Dict_GetPointer | Dictionary | This function returns the pointer with the specified key from a dictionary. |
| Fnd_Dict_GetReal | Dictionary | This function returns a floating point numeric value with the specified key from a dictionary. |
| Fnd_Dict_GetText | Dictionary | This function returns a text value with the specified key from a dictionary. |
| Fnd_Dict_GetTime | Dictionary | This function returns a 4D time value with the specified key from a dictionary. |
| Fnd_Dict_HasKey | Dictionary | This function tests whether or not a specific key exists in a dictionary. It will return True if the key exists. |
| Fnd_Dict_ID | Dictionary | This function returns the reference number with the first dictionary found with the specified name. Keep in mind that it is possible to create multiple dictionaries with the... |
| Fnd_Dict_Info | Dictionary | The Fnd_Date_Info method will respond to these requests: Request Response Example name The... |
| Fnd_Dict_IsValid | Dictionary | This function tests whether or not the specified dictionary reference is valid. It will return True if the reference is valid and can be used. |
| Fnd_Dict_ItemCount | Dictionary | Returns the number of items (or keys) in a dictionary. |
| Fnd_Dict_Keys | Dictionary | This command fills an array with the keys in the specified dictionary. |
| Fnd_Dict_LoadFromBlob | Dictionary | This function loads a dictionary from a 4D BLOB created by a previous call to Fnd_Dict_SaveToBlob. It returns the reference number to the new dictionary. |
| Fnd_Dict_LoadFromFile | Dictionary | This function loads a dictionary from the file specified by the path parameter. It returns the reference number to the new dictionary. |
| Fnd_Dict_Name | Dictionary | |
| Fnd_Dict_New | Dictionary | This funciton creates a new dictionary and returns its reference number. If no name is passed, the dictionary will be named "Dictionary n" where n is the dictionary’s reference... |
| Fnd_Dict_Release | Dictionary | This command decrements the retain count of a dictionary. Once the retain count reaches 0, the dictionary is automatically cleared from memory. |
| Fnd_Dict_Remove | Dictionary | Use this command to remove a key, and its associated data, from a dictionary. |
| Fnd_Dict_Retain | Dictionary | This command increments the retain count for a dictionary |
| Fnd_Dict_RetainCount | Dictionary | This function returns the retain count for the specified dictionary. If the dictionary reference is not valid, 0 is returned. |
| Fnd_Dict_SaveToBlob | Dictionary | Use this command to save a dictionary as a 4D BLOB. Because 4D’s XML creation routines were introduced in 4D 2004, this command will work only with 4D 2004 or later. |
| Fnd_Dict_SaveToFile | Dictionary | |
| Fnd_Dict_SetArray | Dictionary | Use this command to store an array of values in a dictionary. The array can be an array any of these types: Text or String Longint or Integer Real Boolean Date Pointer |
| Fnd_Dict_SetBoolean | Dictionary | This command adds the specified key and Boolean value to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_SetDate | Dictionary | This command adds the specified key and 4D date value to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_SetLongint | Dictionary | This command adds the specified key and long integer (or integer) value to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_SetPointer | Dictionary | This command adds the specified key and pointer to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_SetReal | Dictionary | This command adds the specified key and floating numeric value to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_SetText | Dictionary | This command adds the specified key and text (or string) value to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_SetTime | Dictionary | This command adds the specified key and 4D time value to the dictionary. If the key already exists, the old value is replaced with this new value. |
| Fnd_Dict_Values | Dictionary | This function fills the text array with the values stored in the dictionary. All of the values will be returned as text, regardless of their actual data type. |
| Fnd_Dlg_Alert | Dialogs | The Fnd_Dlg_Alert routine replaces 4D’s ALERT command. You can either pass a value to the OK button parameter, which will be used in place of the OK button. Otherwise, “OK”... |
| Fnd_Dlg_Confirm | Dialogs | The Fnd_Dlg_Confirm routine replaces 4D’s CONFIRM command. You can pass titles for the OK and Cancel buttons. If you leave the OK button parameter empty or pass “*”, “OK” (or... |
| Fnd_Dlg_CustomIcon | Dialogs | Use this routine to set and get the name of an image from the 4D Picture library to display as the icon when displaying an alert, confirm, or request dialog. Fnd_Dlg_SetIcon... |
| Fnd_Dlg_Display | Dialogs | The Fnd_Dlg_Display routine displays the dialog that you have defined by using the other routines in this component and in the Windows component (Fnd_Dlg_SetButtons,... |
| Fnd_Dlg_GetRequest | Dialogs | The Fnd_Dlg_GetRequest routine returns the value entered by the user after displaying a Request dialog with the Fnd_Dlg_Display routine in conjunction with the... |
| Fnd_Dlg_Info | Dialogs | Returns the requested information about the component. $version_t:=Fnd_Dlg_Info ("version") |
| Fnd_Dlg_Message | Dialogs | The Fnd_Dlg_Message routine displays a message window. This routine replaces 4D’s MESSAGE command. Fnd_Dlg_Message ("Connecting to the data server...") ODBC_Connect... |
| Fnd_Dlg_MessageCanceled | Dialogs | The Fnd_Dlg_MessageCanceled routine returns True if the user has clicked the Cancel button in the message dialog that is currently being displayed. |
| Fnd_Dlg_MessageClose | Dialogs | The Fnd_Dlg_MessageClose routine closes the message window that was previously opened with Fnd_Dlg_Message or Fnd_Dlg_MessageOpen. |
| Fnd_Dlg_MessageOpen | Dialogs | The Fnd_Dlg_MessageOpen routine opens a message window. You can also specify the button text, the text to display, the window title, and whether the user can cancel the message... |
| Fnd_Dlg_MessageUpdate | Dialogs | The Fnd_Dlg_MessageUpdate routine updates the progress indicator if used by calling the Fnd_Dlg_SetProgress routine. |
| Fnd_Dlg_Request | Dialogs | The Fnd_Dlg_Request routine is designed to replace 4D’s Request function. It displays a Request dialog that can be modified by setting the default response text, the text of... |
| Fnd_Dlg_SetButtons | Dialogs | The Fnd_Dlg_SetButtons routine sets the button texts for the upcoming alerts that will be opened by using the routines in this component. The third button is the “Don’t Save”... |
| Fnd_Dlg_SetCancelable | Dialogs | With the Fnd_Dlg_SetCancelable routine, you can specify whether or not the upcoming dialog can be canceled. This routine can be used in conjunction with the Fnd_Dlg_MessageOpen... |
| Fnd_Dlg_SetIcon | Dialogs | Use the Fnd_Dlg_SetIcon routine to set the icon for an upcoming alert displayed with the Fnd_Dlg_Display routine. Pass one of the following values: |
| Fnd_Dlg_SetPosition | Dialogs | This command is obsolete and has been removed. Use the Fnd_Wnd_Position command instead. |
| Fnd_Dlg_SetProgress | Dialogs | Call Fnd_Dlg_SetProgress routine to set the from and to numbers in a message window. If only one number is passed to the to or from parameter, the from is assumed to be 1. If... |
| Fnd_Dlg_SetRequest | Dialogs | The Fnd_Dlg_SetRequest routine sets up the dialog to allow the user to enter a value when calling the Fnd_Dlg_Display routine. Call this method with no parameters to cause the... |
| Fnd_Dlg_SetText | Dialogs | The Fnd_Dlg_SetText routine sets the message texts for the upcoming dialogs opened with the Fnd_Dlg_Display and Fnd_Dlg_MessageOpen routines. |
| Fnd_Dlg_SetWindowTitle | Dialogs | This command is obsolete and has been removed. Use the Fnd_Wnd_Title command instead. |
| Fnd_Find_AddCustom | Find | The Fnd_Find_AddCustom routine lets the developer add a custom field to the search dialog. If the user selects the custom field label from the pop-up menu, Foundation will not... |
| Fnd_Find_AddSeparator | Find | The Fnd_Find_AddSeparator routine adds a separator line at position to the list of searchable fields to the Find dialog. |
| Fnd_Find_AddSubfield | Find | The Fnd_Find_AddSubfield routine lets the developer add a subfield to the Find dialog. The field type must be specified because we cannot procedurally determine its type like... |
| Fnd_Find_AddTable | Find | The Fnd_Find_AddTable routine loads the visible, searchable fields for the specified table into the field pop-up menu. Fnd_Find_AddTable (->[Contacts]) |
| Fnd_Find_Display | Find | The Fnd_Find_Display routine displays the Find dialog. If the user clicks OK, the component performs the query and the current selection is modified. |
| Fnd_Find_Info | Find | The Fnd_Find_Info method will respond to these requests: Request Response Example name The component’s... |
| Fnd_Find_SetEditorButton | Find | The Fnd_Find_SetEditorButton routine allows the developer to hide or modify the Query Editor button in the Find dialog. Pass an empty string to label to hide the button.... |
| Fnd_Gen_BugAlert | General | The Fnd_Gen_BugAlert method provides a simple method for the developer to notify the end-user of a problem that can happen only as a result of a programming error. For example,... |
| Fnd_Gen_ButtonText | General | Sets the button text and resizes the button if necessary. The side passed as the alignment parameter remains stationary, while the other side will be modified if necessary to... |
| Fnd_Gen_CancelQuit | General | When you call Foundation’s Fnd_Gen_QuitNow routine to quit the database, Foundation spends about 30 seconds waiting for all of the processes to end. If you want Foundation to... |
| Fnd_Gen_CenterWindow | General | The Fnd_Gen_CenterWindow routine opens a new window centered on the screen or over the front most window (depending on the value of position parameter). It is included... |
| Fnd_Gen_ComponentAvailable | General | Use the Fnd_Gen_ComponentAvailable routine to determine if a specific Foundation component is available. If it is, you can then call the component using 4D’s EXECUTE command.... |
| Fnd_Gen_ComponentCheck | General | The Fnd_Gen_ComponentCheck routine displays an alert if the specified component is not available. It then ends execution by calling 4D’s ABORT command. Use this command in the... |
| Fnd_Gen_ComponentData | General | This method returns in the passed arrays information about the Foundation components. All known Foundation components are returned in the arrays, even if the component is not... |
| Fnd_Gen_ComponentInfo | General | Many of the Foundation components include a method designed to return information about the component or the current status of the component. These information methods are... |
| Fnd_Gen_ComponentReport | General | This routine displays Foundation’s Component Report window. The window displays a list of all of the known Foundation components, along with the most recent version numbers... |
| Fnd_Gen_CurrentFormType | General | If no parameters are passed, Fnd_Gen_CurrentFormType returns the type of the currently displayed form. Here are the values that this routine might return: Value... |
| Fnd_Gen_CurrentTable | General | Rather than using 4D’s DEFAULT TABLE command and Current default table function, Foundation maintains a variable to a pointer to the current table for each process. You can get... |
| Fnd_Gen_FileName | General | To get the name of a file from a full file path, pass the path to this function. $title:=Fnd_Gen_FileName (Document) SET WINDOW TITLE($title) |
| Fnd_Gen_FormMethod | General | This method is designed to be called from any non-modal forms in the application. It checks to see if the close box has been clicked, or if another process has requested the... |
| Fnd_Gen_GetDatabaseInfo | General | 4D’s component architecture does not allow variables to be shared between components. That is a good thing, but it requires us to find another way to share information between... |
| Fnd_Gen_GetString | General | This routine offers a way to get localized OK and Cancel button for a dialog without requiring Foundation’s Localization component. Pass it the internal string label, and this... |
| Fnd_Gen_Info | General | This function returns the requested information about the General component. $version_t:=Fnd_Gen_Info ("version") |
| Fnd_Gen_LaunchAsNewProcess | General | The Fnd_Gen_LaunchAsNewProcess method launches the specified process as a new process. If the process is already running, it is just brought to the front. This process is... |
| Fnd_Gen_MenuBar | General | Instead of calling 4D’s MENU BAR command, call the Fnd_Gen_MenuBar routine to install and update Foundation’s menu bar when you display a window in a new process. In addition... |
| Fnd_Gen_Platform | General | This function returns the platform number from 4D’s PLATFORM PROPERTIES command. This allows you to easily distinguish between Mac OS X and Windows. Case of : (Fnd_Gen_Platform... |
| Fnd_Gen_PlugInAvailable | General | This function returns True if the specified plugin is installed. The plugin name must be passed exactly as shown in the list below. This routine is only aware of a limited... |
| Fnd_Gen_QuitNow | General | This routine has two different formats. If you create a background process that runs until the user selects Quit, you should call this method on a regular basis. If you do not... |
| Fnd_Gen_RemoveActivationCode | General | This method removes the activation code from the database structure file so the developer can share the source code with the Foundation components installed. This method can be... |
| Fnd_Gen_Reset | General | Fnd_Gen_Reset resets all of the available Foundation components. This routine does not actually clear any variables, it just flags them as needing to be re-initialized, so the... |
| Fnd_Gen_SelectionChanged | General | If your code changes the current selection of records displayed in an output form, call this routine at the end of your method to let Foundation know about the change. This... |
| Fnd_Gen_SetDatabaseInfo | General | Use this routine to set text values that can be later tested from other components using the Fnd_Gen_GetDatabaseInfo method. You can set and get any type of text information... |
| Fnd_Hook_IO_DisplayRecord | Input/Output | This hook is called just before an input window is displayed. Here you can set the window title or position, or specify the input form to use. Use the Fnd_Gen_CurrentTable... |
| Fnd_Hook_IO_DisplayTable | Input/Output | This hook is called just before an output window is displayed. Here you can set the window title or position, or specify the output form to use. Use the Fnd_Gen_CurrentTable... |
| Fnd_Hook_IO_InputFormButton | Input/Output | This hook is called when a button on the inherited form named Fnd_IO_InputForm is clicked. It receives as the a parameter the name of the button that was clicked. The name will... |
| Fnd_Hook_IO_SelectionChanged | Input/Output | This hook is called any time the current selection of records displayed in an output list has changed by Foundation. If your code changes the selection, be sure to call... |
| Fnd_Hook_List_SetEditableLists | Lists | This hook gives you a place to call the Fnd_List_AddToListEditor method. This hook is called during the startup process by Foundation. Fnd_List_AddToListEditor ("Invoice... |
| Fnd_Hook_Rec_Delete | Records | |
| Fnd_Hook_Rec_New | Records | This hook gets called when the user wants to add a new record. It returns True to allow Foundation to handle the request. Return False if you want to handle the request... |
| Fnd_Hook_Shell_Administration | Shell | This hook is called to display the shell's Administration Dialog. We have preconfigured it to display 4D's Password Editor, Foundation's List Editor and Sequence Number Editor,... |
| Fnd_Hook_Shell_Find | Shell | This hook gives you a place to configure Foundation's Find Dialog if you want to alter the default configuration. You can call the Fnd_Gen_CurrentTable method to determine the... |
| Fnd_Hook_Shell_InitializePlugIns | Shell | Use this method to initialize any plugins by calling their activation routines. This hook is called in the On Startup method for single-user and 4D Client, and also from the On... |
| Fnd_Hook_Shell_NavPalette | Shell | Fnd_Hook_Shell_Print Fnd_Hook_Shell_Print |
| Fnd_Hook_Shell_OpenTable | Shell | This hook sets up Foundation's Open Table dialog before it is displayed. Call Fnd_Shell_OpenTableAdd to specify the table names to display. |
| Fnd_Hook_Shell_Setup | Shell | Here is where the developer sets up information about this particular database. Fnd_Gen_SetDatabaseInfo ("NAME";"Super Accounting Program") Fnd_Gen_SetDatabaseInfo... |
| Fnd_Hook_Shell_Sort | Shell | This hook gives you a place to configure Foundation's Sort dialog if you want to alter the default configuration. You can call the Fnd_Gen_CurrentTable method to determine the... |
| Fnd_Hook_Shell_SpecialFunctions | Shell | This hook is called to display the shell's Special Functions Dialog. Routines in this dialog are available to all database users. By default, there are no options set up in... |
| Fnd_Hook_Shell_Startup | Shell | Place any startup code here that you want to run while the startup dialog is displayed. You can also call your startup stuff before or after Fnd_Shell_OnStartup is called from... |
| Fnd_Hook_SqNo_SetIDField | Sequence Numbers | Foundation's Sequence Number routines assume the first field for every table is the table's key field. If this is not the case, you can show Foundation which field to use for... |
| Fnd_IO_AddMultipleRecords | Input/Output | By default, Foundation’s Fnd_IO_DisplayRecord command adds one record, then either closes the input window or returns to the output list (depending on the current configuration... |
| Fnd_IO_DisplayNavButtons | Input/Output | Fnd_IO_DisplayNavButtons allows the developer to display or hide the input form record navigation buttons for the current process. Fnd_IO_DisplayNavButtons (False) ` Do not... |
| Fnd_IO_DisplayRecord | Input/Output | 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... |
| Fnd_IO_DisplayTable | Input/Output | Pass a table pointer to the Fnd_IO_DisplayTable method whenever you want to display a new table window. If a window already exists for the specified table, it will be brought... |
| Fnd_IO_Info | Input/Output | Returns the requested information about the component. $version_t:=Fnd_IO_Info ("version") |
| Fnd_IO_InputFormMethod | Input/Output | The Fnd_IO_InputFormMethod method must be called from the form method of each input form that will be displayed in the Custom Menus environment. This method makes sure that the... |
| Fnd_IO_InputFormName | Input/Output | This method allows the developer to get and set the name of the form to use for any input screens opened by the current process. To set the name of the next input form name to... |
| Fnd_IO_MultiWindow | Input/Output | By default, Foundation displays input forms in a new process and window separate from the output form by opening a second window. This routine allows the developer to change... |
| Fnd_IO_OutputFormMethod | Input/Output | The Fnd_IO_OutputFormMethod method must be called from the form method of each output form that will be displayed in the Custom Menus environment. This method makes sure that... |
| Fnd_IO_OutputFormName | Input/Output | Call this method to set the name of the next output form to use. If you are using the Foundation Shell, you can call this method from the Fnd_Hook_IO_DisplayTable hook.... |
| Fnd_IO_RecordEdited | Input/Output | This command is designed primarily for Foundation’s internal use, but it has been made available for use by replacements for Foundation’s default input and output handling... |
| Fnd_IO_ToolbarIconGroup | Input/Output | This command changes the icons used when displaying the output form toolbar. The default style is “bold.” Use this command to switch the icon group to any of the other groups:... |
| Fnd_IO_UpdateToolbar | Input/Output | Enables and disables the toolbar buttons based on the current selection of records and whether or not any records are highlighted. Generally there will be no need to ever call... |
| Fnd_List_AddButton | Lists | The Fnd_List_AddButton routine adds a third button to Foundation’s choice list or command dialog. Pass it the button label to display. If the button is clicked, the dialog will... |
| Fnd_List_AddItem | Lists | The Fnd_List_AddItem routine adds a command to the Command Dialog. Pass it the command name to display to the user, and the 4D method to call if the command is selected by the... |
| Fnd_List_AddToListEditor | Lists | The Fnd_List_AddToListEditor routine should be called from the Fnd_Hook_List_SetEditableLists method. Any list names passed to this method will become editable by the database... |
| Fnd_List_ChoiceList | Lists | The Fnd_List_ChoiceList allows the user to select an element from a list. LIST TO ARRAY("MyList";MyTextArray) Fnd_Wnd_Title ("Choices") $element_i:=Fnd_List_ChoiceList ("Pick... |
| Fnd_List_CommandDialog | Lists | Fnd_List_CommandDialog displays the choice list dialog composed by calling the Fnd_List_AddToListEditor routine. See that command for an example. |
| Fnd_List_EditOne | Lists | The Fnd_List_EditOne routine allows the developer to edit the specified list in a semi-modal dialog. Fnd_List_EditOne ("Country Names") |
| Fnd_List_Editor | Lists | The Fnd_List_Editor routine displays the List Editor window in a new process. Only 4D lists previously passed to the Fnd_List_AddToListEditor method will be displayed. |
| Fnd_List_Info | Lists | Returns the requested information about the component. $version_t:=Fnd_List_Info ("version") |
| Fnd_List_OnExit | Lists | The Fnd_List_OnExit routine stores the current date and time in both the structure file (as a list) and the data file (as a record). We can compare these at startup to... |
| Fnd_List_OnStartup | Lists | The Fnd_List_OnStartup routine is called when the database is launched to determine if the lists in the structure file need to be updated from the lists in the data file.... |
| Fnd_Loc_DuplicateList | Localization | This routine can be used to duplicate a 4D list. It is designed to be called from Foundation’s Fnd_Shell menu by the developer to assist in creating new localizations. It is... |
| Fnd_Loc_Editor | Localization | Displays the Localization List Editor window in a new process. See the beginning of this chapter for more information. |
| Fnd_Loc_FixButtonWidths | Localization | Adjusts all of the button widths of two or more vertically aligned buttons so they all have the same left and right coordinates of the widest button of the group. Designed to... |
| Fnd_Loc_FixLabelWidths | Localization | One of the problems with localizing field labels is that if you make the label large enough for one language, it may appear too large for other languages. And even if you... |
| Fnd_Loc_GetString | Localization | This routine returns a localized string based on the internal string or label. Foundation’s Language Code is used to determine which language string to return. See the... |
| Fnd_Loc_Info | Localization | Returns the requested information about the component. $language_t:=Fnd_Loc_Info (“language”) |
| Fnd_Loc_LanguageCode | Localization | If no parameters are passed, this routine returns the current language code that Foundation is using for localization. $languageCode:=Fnd_Loc_LanguageCode |
| Fnd_Log_AddEntry | Log | The Fnd_Log_AddEntry routine places the text parameters into an external text file. It is safe to call this routine even if we are not currently logging activity.... |
| Fnd_Log_Enable | Log | This function allows the developer to turn logging on or off. This function returns true if logging is currently on. $isLoggingOn_b:=Fnd_Log_Enable ` Also turns logging on |
| Fnd_Log_Info | Log | Returns the requested information about the component. $language_t:=Fnd_Log_Info (“language”) |
| Fnd_Menu_DisableAll | Menus | This routine temporarily disables all of the currently displayed menu items. Call it before displaying a dialog or window which will not respond to menu selections. The menus... |
| Fnd_Menu_Info | Menus | This function returns the requested information about the Menu component. $version_t:=Fnd_Menu_Info ("version") |
| Fnd_Menu_MenuBar | Menus | This routine installs and updates Foundation’s menu bar. In addition to calling the MENU BAR command, this routine will localize the menus (using the Localization component, if... |
| Fnd_Menu_MenuBarName | Menus | Fnd_Menu_MenuBarName allows the developer to specify the menu bar to display the next time the menu bar is displayed by a Foundation component. If a blank name is specified,... |
| Fnd_Menu_Window_Add | Menus | Adds the specified title to the Window menu. If no title is specified, the window title of the current process is used. If the current process is already represented in the... |
| Fnd_Menu_Window_Remove | Menus | The Fnd_Menu_Window_Remove routine removes the specified process from the Window menu. If the process number is not specified, the current process is removed from the menu bar.... |
| Fnd_Msg_Broadcast | Message | The Fnd_Msg_Broadcast routine sends the message out to all processes with the specified name. The process name can contain wildcard characters. Does not broadcast to 4D created... |
| Fnd_Msg_Get | Message | This function returns the next message queued up for the current process. $processmessage_t:=Fnd_Msg_Get (->messsage_blob) |
| Fnd_Msg_GetParameter | Message | |
| Fnd_Msg_Info | Message | Returns the requested information about the component. $language_t:=Fnd_Msg_Info (“language”) |
| Fnd_Msg_PackParameters | Message | |
| Fnd_Msg_QuitBackgroundProcess | Message | This method ends the message loop background process. If there are messages still waiting to be delivered, this process waits until a timeout period is reached so hopefully the... |
| Fnd_Msg_Send | Message | This method sends a message to another process. Fnd_Msg_Send (Process number(◊YourProcessName);"Hello, World") |
| Fnd_Nav_AddButtonMethod | Navigation | This routine adds a new button to the palette and assigns the method as its action. When the button is clicked, the first parameter, method, will be executed.... |
| Fnd_Nav_AddButtonTable | Navigation | This method adds a new button to the palette and assigns the specified table to it. Fnd_Nav_AddButtonTable (->[Invoices]) Fnd_Nav_AddButtonTable (->[People];"Customers") |
| Fnd_Nav_Delete | Navigation | |
| Fnd_Nav_Display | Navigation | Fnd_Nav_Display displays the navigation palette window. If Fnd_Nav_AddButtonMethod or Fnd_Nav_AddButtonTable have not been previously called, the palette will contain a button... |
| Fnd_Nav_Info | Navigation | Returns the requested information about the component. $language_t:=Fnd_Nav_Info (“language”) |
| Fnd_Pref_Display | Preferences | This method displays the Preferences window in a new process. |
| Fnd_Pref_GetBoolean | Preferences | Returns the Boolean value of the preference with the specified name: $displayToolbar_b:=Fnd_Pref_GetBoolean ("Toolbar") |
| Fnd_Pref_GetLongInt | Preferences | Returns the long integer value of the preference with the specified name: $timeout_i:=Fnd_Pref_GetLongint ("TimeoutInSeconds") |
| Fnd_Pref_GetReal | Preferences | Returns the real number value of the preference with the specified name: $rate_r:=Fnd_Pref_GetReal ("ExchangeRate") |
| Fnd_Pref_GetText | Preferences | Returns the text value of the preference with the specified name: $email_t:=Fnd_Pref_GetText ("EmailAddress") |
| Fnd_Pref_GetWindow | Preferences | Window coordinates are always stored locally. There is no option to store this information as a server or shared preference. |
| Fnd_Pref_Info | Preferences | Returns the requested information about the component. $version_t:=Fnd_Pref_Info ("version") |
| Fnd_Pref_SetBoolean | Preferences | This routine stores a Boolean value. Fnd_Pref_SetBoolean ("Toolbar";$displayToolbar_b) |
| Fnd_Pref_SetLongInt | Preferences | This routine stores a long integer value. Fnd_Pref_SetLongInt ("TimeoutInSeconds";$timeout_i) |
| Fnd_Pref_SetReal | Preferences | This routine stores a real number value. Fnd_Pref_SetReal ("ExchangeRate";$rate_r) |
| Fnd_Pref_SetText | Preferences | This routine stores a text value. Fnd_Pref_SetText ("EmailAddress";$email_t) |
| Fnd_Pref_SetWindow | Preferences | Fnd_Pref_SetWindow (name; left; top; right; bottom) |
| Fnd_Pref_UserName | Preferences | This routine gets and sets the current user name used by the Preferences component. When setting a server preference, the preference is stored with the current user’s name. By... |
| Fnd_Pswd_BulletEntry | Password | The Fnd_Pswd_BulletEntry routine replaces typed characters with bullet characters for password entry. Requires the field's On Before Keystroke event to be enabled.... |
| Fnd_Pswd_CustomCharacters | Password | This function returns the currently specified custom characters to use to generate passwords. Optionally, you may pass any custom characters that should be used to generate... |
| Fnd_Pswd_ExcludeCharacters | Password | This function returns the currently excluded custom characters cannot be used to generate passwords. Optionally, you may pass any custom characters that should be excluded from... |
| Fnd_Pswd_GeneratePassword | Password | This function returns a password. $password_t:=Fnd_Pswd_GeneratePassword |
| Fnd_Pswd_GeneratorDialog | Password | This function displays a password generator dialog and returns the password. $password_t:=Fnd_Pswd_GeneratorDialog |
| Fnd_Pswd_Info | Password | Returns the requested information about the component. $version_t:=Fnd_Pswd_Info ("version") |
| Fnd_Pswd_MaxLength | Password | This function returns the current value of the maximum password length. Optionally, allows the developer to set the maximum password length, and, optionally, the maximum... |
| Fnd_Pswd_MinLength | Password | This function returns the current value of the minimum password length. Optionally, allows the developer to set the minimum password length, and, optionally, the minimum... |
| Fnd_Pswd_UseLowercase | Password | This function returns current setting of whether to use lowercase in passwords. Optionally, pass True to tell the password generator to use lowercase letters in passwords.... |
| Fnd_Pswd_UseNumbers | Password | This function returns current setting of whether to use numbers in passwords. Optionally, pass True to tell the password generator to use numbers in passwords.... |
| Fnd_Pswd_UseSymbols | Password | This function returns current setting of whether to use symbols in passwords. Optionally, pass True to tell the password generator to use symbols in passwords.... |
| Fnd_Pswd_UseUppercase | Password | This function returns current setting of whether to use uppercase in passwords. Optionally, pass True to tell the password generator to use uppercase letters in passwords.... |
| Fnd_Rec_DeleteUserSet | Records | Fnd_Rec_DeleteUserSet deletes the highlighted records in the current selection (the “UserSet”). This method asks the user first if they are sure the records should be deleted.... |
| Fnd_Rec_Info | Records | Returns the requested information about the component. $version_t:=Fnd_Rec_Info ("version") |
| Fnd_Rec_NewRecord | Records | This method creates a new record for the specified table (if any). Otherwise a new record is created for the current table. Fnd_Rec_NewRecord (->[Contacts]) |
| Fnd_Rec_OmitSubset | Records | This method omits the highlighted records from the current selection. Assumes the frontmost window is displaying a 4D output form. |
| Fnd_Rec_ShowAll | Records | This method updates the selection to include all records. If the Macintosh Option key or Windows Alt key is down, the selection is reduced to no records. Assumes the frontmost... |
| Fnd_Rec_ShowSubset | Records | This method reduces the current selection to just the highlighted records. Assumes the frontmost window is displaying a 4D output form. |
| Fnd_Reg_BuyNowButton | Registration | This method is called from the Buy Now button’s object method in the component’s two public forms. It opens the URL specified by a previous call to Fnd_Reg_BuyNowURL. |
| Fnd_Reg_BuyNowURL | Registration | This routine allows the developer to get and set the URL to display when the Buy Now button is clicked. Each feature has its own Buy Now URL. In most cases you will call this... |
| Fnd_Reg_DemoDays | Registration | This routine allows the developer to get and set the number of demo days for the specified feature. Generally this routine should be called at startup before any calls to... |
| Fnd_Reg_DemoDialog | Registration | This routine displays the demo message window if the user has not yet entered an unlock code for the specified feature. To display the application’s demo window, call this... |
| Fnd_Reg_DemoDialogFormMethod | Registration | This method must be called from the “Fnd_Reg_DemoDialog” form method. |
| Fnd_Reg_DemoMessage | Registration | This routine allows the developer to get and set the demo message for the specified feature code. If this method is not called the default message contained in the localization... |
| Fnd_Reg_FeatureName | Registration | This feature name is displayed at the top of the Demo Dialog and in the text message of the Registration Dialog. You can call this method to set the display name for the... |
| Fnd_Reg_GetDemoDaysRemaining | Registration | This function returns the number of days left in the demo. This value is calculated using the number of demo days for the feature and the date the demo period was started by a... |
| Fnd_Reg_GetExpirationDate | Registration | This function returns the specified feature’s expiration date. This value is calculated using the number of demo days for the feature and the date the demo period was started... |
| Fnd_Reg_GetLicenseInfo | Registration | This function returns the license information that was included with the unlock code entered by the user. If the feature has not yet been registered, then a blank string is... |
| Fnd_Reg_GetUserName | Registration | This function returns the user name or other personalization information that was entered by the end user when registering the product or feature. If the feature has not yet... |
| Fnd_Reg_Info | Registration | This function returns the requested information about the Registration component. $version_t:=Fnd_Reg_Info ("version") |
| Fnd_Reg_RegDialogFormMethod | Registration | This method must be called from the “Fnd_Reg_RegisterDialog” form method. |
| Fnd_Reg_RegDialogOKButton | Registration | This method is called from the OK button’s object method in the component’s “Fnd_Reg_RegistrationDialog” public form. When clicked it verifies the user name and unlock code... |
| Fnd_Reg_RegistrationDialog | Registration | This routine displays the registration dialog window if the user has not yet entered an unlock code for the specified feature. It is not necessary to use this method, since the... |
| Fnd_Reg_RegistrationState | Registration | This function returns the current registration state for the specified feature: $state_i:=Fnd_Reg_RegistrationState |
| Fnd_Reg_Reset | Registration | Call this to clear any existing registration information for the specified feature: Fnd_Reg_Reset ("webserver") |
| Fnd_Reg_SetSecretKey | Registration | Use this method to set the secret product key for the application: Fnd_Reg_SetSecretKey ("mySecretProductKey_773") |
| Fnd_Reg_StartDemoPeriod | Registration | Call this method to begin the demo period. If the demo period has already been started, this routine will do nothing. Fnd_Reg_StartDemoPeriod |
| Fnd_Shell_Administration | Shell | |
| Fnd_Shell_ExcludeFromQuit | Shell | Normally when the user selects Quit from the File menu, Foundation does a call process to each process that was procedurally created and waits for all of these processes to... |
| Fnd_Shell_Info | Shell | Returns the requested information about the component. $version_t:=Fnd_Shell_Info ("version") |
| Fnd_Shell_IsRunning | Shell | This function returns True if the shell is running. This method is only needed during development. It will return False if you have selected Quit from the File menu, and the... |
| Fnd_Shell_NavigationPalette | Shell | Fnd_Shell_NavigationPallette |
| Fnd_Shell_OnExit | Shell | This method must be called from the database's On Exit and On Server Shutdown database methods. |
| Fnd_Shell_OnStartup | Shell | The startup routine for the Foundation Shell. This method must be called from the database's On Startup and On Server Startup database methods. |
| Fnd_Shell_OpenTableDialog | Shell | Displays a dialog with the names of all visible tables. If the user selects one and clicks the OK button the table is displayed in a new window (even if that table is already... |
| Fnd_Shell_Print | Shell | Call this method to display the shell's Print Dialog. Configure the contents of the dialog using the Fnd_Hook_Shell_Print hook. |
| Fnd_Shell_Show4DSplashScreen | Shell | Allows the developer to display the 4D splash screen, or default window, so the database can be used in the User environment. No longer necessary in 4D v11, as there is no User... |
| Fnd_Shell_SpecialFunctions | Shell | |
| Fnd_Sort_AddField | Sort | Fnd_Sort _AddField (->field{; position}) |
| Fnd_Sort_AddSeparator | Sort | The Fnd_Sort_AddSeparator routine adds a separator line at position to the list of searchable fields to the Sort dialog. Fnd_Sort_AddField (->[Contact]First Name)... |
| Fnd_Sort_AddTable | Sort | The Fnd_Sort_AddTable routine loads the visible, sortable fields for the specified table into the field pop-up menu. For example, this will add all of the sortable fields for... |
| Fnd_Sort_Direction | Sort | This command allows the developer to set or get the currently selected sort direction for the current process. If a valid direction is specified, this routine will make it the... |
| Fnd_Sort_Display | Sort | This method displays Foundation's simple Sort dialog. If no table is specified, the table returned by the Fnd_Gen_CurrentTable function is used. |
| Fnd_Sort_Info | Sort | Returns the requested information about the component. $version_t:=Fnd_Sort_Info ("version") |
| Fnd_Sort_OrderByEditor | Sort | This method displays 4D’s built-in Order By dialog. If no table is specified, the table returned by the Fnd_Gen_CurrentTable function is used. |
| Fnd_Sort_SelectedField | Sort | Allows the developer to set or get the currently selected sort field. If a field pointer is specified, this routine will make it the default selection if the field is available... |
| Fnd_SqNo_Editor | Sequence Numbers | This method displays Foundation’s Sequence Number Editor dialog in a new process. |
| Fnd_SqNo_Enable | Sequence Numbers | This method creates the sequence number group if it does not already exist. Optionally, it starts the numbering at the specified number. Otherwise, it starts at 1. The new... |
| Fnd_SqNo_Fix | Sequence Numbers | If you ever have a problem with the sequence numbers for record IDs set by the Fnd_SqNo_SetRecordID command, this command can fix the problem. It determines the next valid... |
| Fnd_SqNo_Get | Sequence Numbers | This function returns the next unique positive long integer based on the group name you pass. This function returns 0 if it is unable to get the next sequence number.... |
| Fnd_SqNo_Info | Sequence Numbers | Returns the requested information about the component. $version_t:=Fnd_SqNo_Info ("version") |
| Fnd_SqNo_Put | Sequence Numbers | Call this method to return a number to the specified sequence number group. If the number is higher than the current next number, it will be ignored. It will also be ignored if... |
| Fnd_SqNo_Set | Sequence Numbers | This routine sets the next number for the specified group, and deletes any numbers previously allocated for reuse. It can be used to fix problems with existing sequence... |
| Fnd_SqNo_SetRecordID | Sequence Numbers | Although you can use the Fnd_SqNo_Get function to get sequence numbers to be used as record IDs, we would like to suggest another method. The Fnd_SqNo_SetRecordID method is... |
| Fnd_Text_Base64ToText | Text | This function returns the ASCII text of the converted Base64 text. $tASCII_t:=Fnd_Text_Base64ToText (tSomeBase64Text_t) |
| Fnd_Text_Capitalize | Text | This function returns the capitalized text. If no optional style parameter is passed, Book Title capitalization is applied. If style parameter equals 2, the function will not... |
| Fnd_Text_CapitalizeExclude | Text | The Fnd_Text_CapitalizeExclude method specifies the words that will not be capitalized using the Fnd_Text_Capitalize method. To get a list of words that will be excluded from... |
| Fnd_Text_DecodeBase64Blob | Text | The Fnd_Text_DecodeBase64Blob method converts a blob from Base64 to ASCII. Fnd_Text_DecodeBase64Blob (->blob) |
| Fnd_Text_EncodeBase64Blob | Text | The Fnd_Text_EncodeBase64Blob method converts a blob from ASCII text to Base64. If the optional line breaks is true, line breaks will be added to the blob. If the optional line... |
| Fnd_Text_FormatNumber | Text | This function returns formatted string of the numeric string removing any dashes, "E"s, and periods. $formattednumber_t:=Fnd_Text_FormatNumber ("123.45", "$###.##") |
| Fnd_Text_Info | Text | Returns the requested information about the component. $language_t:=Fnd_Text_Info (“language”) |
| Fnd_Text_PadSpaces | Text | This function pads the passed text with spaces to reach the desired length. If the length of the text is greater than the length parameter, the text will be truncated.... |
| Fnd_Text_StripSpaces | Text | This function returns text with spaces removed. If options = 1, the function will remove only leading spaces. If options = 2, the function will remove only trailing spaces. If... |
| Fnd_Text_TextToBase64 | Text | This function returns Base64 encoded text. $base64_t:=Fnd_Text_TextToBase64 (text_t) |
| Fnd_Text_TextToMD5 | Text | This function returns MD5 message digest of the text parameter. See RFC 1321 for more information <http://www.faqs.org/rfcs/rfc1321.html>. $MD5message_t:=Fnd_Text_TextToMD5... |
| Fnd_Text_Wrap | Text | This function returns text wrapped to the max line length. Routine by Marco Bernasconi <mbernasconi@ befund.com>. $wrappedtext_t:=Fnd_Text_Wrap (text_t; 78) |
| Fnd_Tlbr_Button_Add | Toolbar | Fnd_Tlbr_Button_Add adds a new button to the toolbar. The button is always appended to the right of any existing toolbar buttons or dividers. The button name is used to... |
| Fnd_Tlbr_Button_Count | Toolbar | This function returns the number of buttons displayed in the toolbar. $buttonCount_i:=Fnd_Tlbr_Button_Count |
| Fnd_Tlbr_Button_Enabled | Toolbar | Use this routine to enable or disable a toolbar button. Pass True to enable the button or False to disable the button. Fnd_Tlbr_Button_Enabled ("PrintBttn";False) ` Disable the... |
| Fnd_Tlbr_Button_Icon | Toolbar | Call this method to specify the name of a Button component icon to use as the button's icon. Fnd_Tlbr_Button_Icon ("WizardBttn";"Fnd_Bttn_Wand") |
| Fnd_Tlbr_Button_Insert | Toolbar | Use this method to insert a button in the toolbar. This command is identical to the Fnd_Tlbr_Button_Add routine, except it has an additional parameter (before button) that lets... |
| Fnd_Tlbr_Button_Label | Toolbar | This routine can also be called as a function to get the button’s current label: $label_t:=Fnd_Tlbr_Button_Label ("WizardBttn") |
| Fnd_Tlbr_Button_Menu | Toolbar | Use this command to turn a toolbar button into a drop-down menu. First create the menu using the Fnd_Tlbr_Button_Add method. Then create a text array of menu items and call... |
| Fnd_Tlbr_Button_Method | Toolbar | Call this routine to set the associated method for the specified toolbar button. The method will be executed when the button is clicked. Fnd_Tlbr_Button_Method... |
| Fnd_Tlbr_Button_Name | Toolbar | This function returns the name of the button at the specified position. For example, to get the name of the last button: $lastButton_i:=Fnd_Tlbr_Button_Count... |
| Fnd_Tlbr_Button_Remove | Toolbar | This command removes the button with the specified name from the toolbar. Fnd_Tlbr_Button_Remove ("WizardBttn") |
| Fnd_Tlbr_Clear | Toolbar | Fnd_Tlbr_Clear removes all objects from the toolbar so it can be rebuilt from scratch. Fnd_Tlbr_Clear Fnd_Tlbr_Button_Add... |
| Fnd_Tlbr_Divider_Add | Toolbar | Fnd_Tlbr_Divider_Add adds a divider line to the toolbar object list. The divider is added after any other objects in the toolbar. Fnd_Tlbr_Button_Add... |
| Fnd_Tlbr_FormMethod | Toolbar | This method must be called from any form method that inherits the toolbar form. Fnd_Tlbr_FormMethod expects the On Load, On Activate, On Deactivate, and On Resize form events... |
| Fnd_Tlbr_Info | Toolbar | Returns the requested information about the component. $version_t:=Fnd_Tlbr_Info ("version") |
| Fnd_Tlbr_Platform | Toolbar | This routine sets and gets the toolbar platform name for the current process. This affects the general toolbar appearance. The following platform names can be used: Platform... |
| Fnd_Tlbr_Redraw | Toolbar | This command updates the toolbar. It should be called after making any changes to the toolbar. Fnd_Tlbr_Button_Add ("UnlockButton";"Unlock";"Fnd_Bttn_Unlock";"UnlockMethod")... |
| Fnd_Tlbr_StatusMessage | Toolbar | Fnd_Tlbr_StatusMessage allows for the getting and setting of the information text line displayed in the standard toolbar output form. Pass this routine the message to display.... |
| Fnd_Tlbr_Style | Toolbar | Fnd_Tlbr_Style sets and gets the toolbar style name for the current process. The following style names can be used: Style Name Large Small1 Small2 |
| Fnd_VS_CreateNameLists | Virtual Structure | This routine will create a set of 4D lists that can be used by the virtual structure routines. This routine is called from Foundation’s developer menu. After calling this... |
| Fnd_VS_FieldName | Virtual Structure | This routine returns the virtual field name of the specified field. ALERT("Please enter a value in the "+Fnd_VS_FieldName (->[Contact]Last Name)+" field.") |
| Fnd_VS_GetFields | Virtual Structure | This method returns in the passed arrays the pointers to and the field names of all of the visible fields for the specified table. ARRAY POINTER(aFieldPtrs;0) ARRAY... |
| Fnd_VS_GetTables | Virtual Structure | This method returns in the passed arrays the names of and pointers to all of the visible tables. It returns the arrays already sorted in the order the developer wants them... |
| Fnd_VS_Info | Virtual Structure | The Fnd_VS_Info method will respond to these requests: Request Response Example name The component’s full... |
| Fnd_VS_SetFieldTitles | Virtual Structure | Fnd_VS_SetFieldTitles allows the developer to set virtual field titles. This method is designed to be called as a replacement to 4D's SET FIELD TITLES command. Foundation will... |
| Fnd_VS_SetTableTitle | Virtual Structure | Fnd_VS_SetTableTitle allows the developer to set a virtual table title for a single table. Fnd_VS_SetTableTitle (->[Contact];"Customers") |
| Fnd_VS_SetTableTitles | Virtual Structure | Fnd_VS_SetTableTitles allows the developer to set virtual table titles. This routine is designed to be called as a replacement to 4D's SET TABLE TITLES command. |
| Fnd_VS_TableName | Virtual Structure | Fnd_VS_TableName returns the virtual table name of the specified table. It is designed to replace calls to 4D’s Table name function. $tableName:=Fnd_VS_TableName (->[Contact])... |
| Fnd_VS_UseNameLists | Virtual Structure | After creating a set of virtual structure name lists using the Fnd_VS_CreateNameLists command, call this command to use a set of virtual structure name lists. This command will... |
| Fnd_Wnd_CancelCloseAll | Windows | Call this method to end Foundation’s attempts to close all windows. For example, if the user selects Close All Windows from the Window menu, and a dialog asks if they want to... |
| Fnd_Wnd_CloseAllWindows | Windows | Call this method to tell all of the other processes to close their windows. If the wait parameter is passed and is True, this process will wait until all of the windows have... |
| Fnd_Wnd_CloseBox | Windows | Call this routine to add a close box to the next window displayed by the Fnd_Wnd_OpenWindow or Fnd_Wnd_OpenFormWindow commands. Fnd_Wnd_CloseBox (True) Fnd_Wnd_OpenFormWindow... |
| Fnd_Wnd_CloseNow | Windows | This method returns True if Foundation is trying to close all windows. For example, this routine will return True if the user Option-clicks (on Macintosh) or Alt-clicks (on... |
| Fnd_Wnd_Info | Windows | Returns the requested information about the component. $version_t:=Fnd_Wnd_Info ("version") |
| Fnd_Wnd_MoveOnScreen | Windows | Pass this routine pointers to a set of window coordinates before opening a new window. This routine modifies the window coordinates so the window will be opened completely on... |
| Fnd_Wnd_OpenFormWindow | Windows | Pass this method a pointer to a table and a form name from that table, and it will open a new window using the specified form’s width and height. You can use other Windows... |
| Fnd_Wnd_OpenWindow | Windows | |
| Fnd_Wnd_Position | Windows | Allows the developer to set the window position for the upcoming dialog or window. The following positions are available using these constants: Value Foundation... |
| Fnd_Wnd_SavePosition | Windows | Saves the front most window of the current process in the user’s preferences file (if the Foundation Preferences component is available). See the Fnd_Wnd_UseSavedPosition... |
| Fnd_Wnd_SendCloseRequests | Windows | Adds the current process to the list of processes with windows that should be closed if the user Option- closes a window or selects Close All Windows from a menu.... |
| Fnd_Wnd_SetCloseBox | Windows | This routine is obsolete. Use the Fnd_Wnd_CloseBox method instead. |
| Fnd_Wnd_SetPosition | Windows | This routine is obsolete. Use the Fnd_Wnd_Position method instead. |
| Fnd_Wnd_SetTitle | Windows | This routine is obsolete. Use the Fnd_Wnd_Title method instead. |
| Fnd_Wnd_SetType | Windows | This routine is obsolete. Use the Fnd_Wnd_Type method instead. |
| Fnd_Wnd_Title | Windows | Gets and sets the window title for the upcoming window. Call this routine before calling Fnd_Wnd_OpenWindow or Fnd_Wnd_OpenFormWindow. Fnd_Wnd_Title ("New Invoice for... |
| Fnd_Wnd_Type | Windows | Call this routine before calling Fnd_Wnd_OpenWindow or Fnd_Wnd_OpenFormWindow to specify the window type to use. You can pass any standard 4D window type constant. Fnd_Wnd_Type... |
| Fnd_Wnd_UseSavedPosition | Windows | This method tells the window routines we want to try to use a saved position. Pass a window name you have previously added to the user’s preferences by calling the... |