Language reference

Commands

327 extracted command and hook entries from the legacy Foundation manual.

CommandComponentSummary
Fnd_Art_AboutArtThe Fnd_Art_About routine displays the About Box dialog in a new process.
Fnd_Art_InfoArtThis function returns the requested information about the Art component. $version_t:=Fnd_Art_Info ("version")
Fnd_Art_SetAboutFormArtThe 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_SetStartupDialogFormArtFnd_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_StartupDialogArtFnd_Art_StartupDialog displays the startup window in a new process.
Fnd_Art_StartupDialogCloseArtFnd_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_StartupDialogFormMethodArtThe 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_CreateButtonButtonsUse 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_GetPictureButtonsThis 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_GetPictureNameButtonsThis 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_GetPictureWidthButtonsFnd_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_InfoButtonsThis routine returns the requested information about the component. $version_t:=Fnd_Bttn_Info ("version")
Fnd_Bttn_PlatformButtonsCall 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_SetBackgroundPictButtonsIf 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_SetTextPropertiesButtonsFnd_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_StyleButtonsPass 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_EmailAddressErrorDataThe 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_FormatBypassKeyDataThe 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_FormatErrorDataThe 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_FormatPhoneDataThe 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_FormatPostalCodeDataThe 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_FormatTextDataThe 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_FormatWebURLDataThe Fnd_Data_FormatWebURL function formats text of a web URL. Function returns the formatted web URL. Self->:=Fnd_Data_FormatWebURL (Self->)
Fnd_Data_InfoDataThis function returns the requested information about the Data component. $version_t:=Fnd_Data_Info ("version")
Fnd_Data_ParseNameDataThe 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_CalendarDateThe 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_DateAndTimeToISODateThis 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_DateToStringDate
Fnd_Date_EndOfMonthDateThis function returns the last day of the month passed. $endofthemonth_d:=Fnd_Date_EndOfMonth ([Invoice]InvoiceDate)
Fnd_Date_EntryFilterDateThis method interprets what has been entered as a date. If the function key is pressed, the following actions take place.
Fnd_Date_InfoDateThis function returns the requested information about the Date component. $version_t:=Fnd_Date_Info ("version")
Fnd_Date_ISOtoDateDateThis 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_ISOtoTimeDateThis 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_MonthNameDateThis 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_RoundTimeDateThis 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_StringToDateDate04 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_SystemDateFormatDateThis 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_YearMonthDayToDateDateThis function returns the date equivalent of the year, month and day passed. $date_d:=Fnd_Date_YearMonthDayToDate (2001;12;3)
Fnd_Dict_DataTypeDictionaryThis 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_GetArrayDictionaryThis method returns an array of values from a dictionary given a key.
Fnd_Dict_GetBooleanDictionaryThis function returns a Boolean value with the specified key from a dictionary.
Fnd_Dict_GetDateDictionaryThis function returns a 4D Date value with the specified key from a dictionary.
Fnd_Dict_GetLongintDictionary
Fnd_Dict_GetPointerDictionaryThis function returns the pointer with the specified key from a dictionary.
Fnd_Dict_GetRealDictionaryThis function returns a floating point numeric value with the specified key from a dictionary.
Fnd_Dict_GetTextDictionaryThis function returns a text value with the specified key from a dictionary.
Fnd_Dict_GetTimeDictionaryThis function returns a 4D time value with the specified key from a dictionary.
Fnd_Dict_HasKeyDictionaryThis function tests whether or not a specific key exists in a dictionary. It will return True if the key exists.
Fnd_Dict_IDDictionaryThis 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_InfoDictionaryThe Fnd_Date_Info method will respond to these requests: Request Response Example name The...
Fnd_Dict_IsValidDictionaryThis 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_ItemCountDictionaryReturns the number of items (or keys) in a dictionary.
Fnd_Dict_KeysDictionaryThis command fills an array with the keys in the specified dictionary.
Fnd_Dict_LoadFromBlobDictionaryThis 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_LoadFromFileDictionaryThis function loads a dictionary from the file specified by the path parameter. It returns the reference number to the new dictionary.
Fnd_Dict_NameDictionary
Fnd_Dict_NewDictionaryThis 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_ReleaseDictionaryThis command decrements the retain count of a dictionary. Once the retain count reaches 0, the dictionary is automatically cleared from memory.
Fnd_Dict_RemoveDictionaryUse this command to remove a key, and its associated data, from a dictionary.
Fnd_Dict_RetainDictionaryThis command increments the retain count for a dictionary
Fnd_Dict_RetainCountDictionaryThis function returns the retain count for the specified dictionary. If the dictionary reference is not valid, 0 is returned.
Fnd_Dict_SaveToBlobDictionaryUse 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_SaveToFileDictionary
Fnd_Dict_SetArrayDictionaryUse 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_SetBooleanDictionaryThis 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_SetDateDictionaryThis 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_SetLongintDictionaryThis 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_SetPointerDictionaryThis 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_SetRealDictionaryThis 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_SetTextDictionaryThis 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_SetTimeDictionaryThis 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_ValuesDictionaryThis 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_AlertDialogsThe 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_ConfirmDialogsThe 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_CustomIconDialogsUse 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_DisplayDialogsThe 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_GetRequestDialogsThe 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_InfoDialogsReturns the requested information about the component. $version_t:=Fnd_Dlg_Info ("version")
Fnd_Dlg_MessageDialogsThe 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_MessageCanceledDialogsThe 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_MessageCloseDialogsThe Fnd_Dlg_MessageClose routine closes the message window that was previously opened with Fnd_Dlg_Message or Fnd_Dlg_MessageOpen.
Fnd_Dlg_MessageOpenDialogsThe 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_MessageUpdateDialogsThe Fnd_Dlg_MessageUpdate routine updates the progress indicator if used by calling the Fnd_Dlg_SetProgress routine.
Fnd_Dlg_RequestDialogsThe 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_SetButtonsDialogsThe 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_SetCancelableDialogsWith 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_SetIconDialogsUse 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_SetPositionDialogsThis command is obsolete and has been removed. Use the Fnd_Wnd_Position command instead.
Fnd_Dlg_SetProgressDialogsCall 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_SetRequestDialogsThe 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_SetTextDialogsThe 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_SetWindowTitleDialogsThis command is obsolete and has been removed. Use the Fnd_Wnd_Title command instead.
Fnd_Find_AddCustomFindThe 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_AddSeparatorFindThe Fnd_Find_AddSeparator routine adds a separator line at position to the list of searchable fields to the Find dialog.
Fnd_Find_AddSubfieldFindThe 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_AddTableFindThe 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_DisplayFindThe 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_InfoFindThe Fnd_Find_Info method will respond to these requests: Request Response Example name The component’s...
Fnd_Find_SetEditorButtonFindThe 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_BugAlertGeneralThe 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_ButtonTextGeneralSets 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_CancelQuitGeneralWhen 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_CenterWindowGeneralThe 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_ComponentAvailableGeneralUse 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_ComponentCheckGeneralThe 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_ComponentDataGeneralThis 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_ComponentInfoGeneralMany 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_ComponentReportGeneralThis 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_CurrentFormTypeGeneralIf 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_CurrentTableGeneralRather 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_FileNameGeneralTo 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_FormMethodGeneralThis 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_GetDatabaseInfoGeneral4D’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_GetStringGeneralThis 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_InfoGeneralThis function returns the requested information about the General component. $version_t:=Fnd_Gen_Info ("version")
Fnd_Gen_LaunchAsNewProcessGeneralThe 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_MenuBarGeneralInstead 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_PlatformGeneralThis 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_PlugInAvailableGeneralThis 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_QuitNowGeneralThis 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_RemoveActivationCodeGeneralThis 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_ResetGeneralFnd_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_SelectionChangedGeneralIf 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_SetDatabaseInfoGeneralUse 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_DisplayRecordInput/OutputThis 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_DisplayTableInput/OutputThis 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_InputFormButtonInput/OutputThis 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_SelectionChangedInput/OutputThis 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_SetEditableListsListsThis 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_DeleteRecords
Fnd_Hook_Rec_NewRecordsThis 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_AdministrationShellThis 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_FindShellThis 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_InitializePlugInsShellUse 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_NavPaletteShellFnd_Hook_Shell_Print Fnd_Hook_Shell_Print
Fnd_Hook_Shell_OpenTableShellThis 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_SetupShellHere is where the developer sets up information about this particular database. Fnd_Gen_SetDatabaseInfo ("NAME";"Super Accounting Program") Fnd_Gen_SetDatabaseInfo...
Fnd_Hook_Shell_SortShellThis 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_SpecialFunctionsShellThis 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_StartupShellPlace 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_SetIDFieldSequence NumbersFoundation'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_AddMultipleRecordsInput/OutputBy 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_DisplayNavButtonsInput/OutputFnd_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_DisplayRecordInput/OutputDisplays 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_DisplayTableInput/OutputPass 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_InfoInput/OutputReturns the requested information about the component. $version_t:=Fnd_IO_Info ("version")
Fnd_IO_InputFormMethodInput/OutputThe 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_InputFormNameInput/OutputThis 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_MultiWindowInput/OutputBy 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_OutputFormMethodInput/OutputThe 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_OutputFormNameInput/OutputCall 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_RecordEditedInput/OutputThis 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_ToolbarIconGroupInput/OutputThis 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_UpdateToolbarInput/OutputEnables 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_AddButtonListsThe 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_AddItemListsThe 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_AddToListEditorListsThe 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_ChoiceListListsThe 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_CommandDialogListsFnd_List_CommandDialog displays the choice list dialog composed by calling the Fnd_List_AddToListEditor routine. See that command for an example.
Fnd_List_EditOneListsThe Fnd_List_EditOne routine allows the developer to edit the specified list in a semi-modal dialog. Fnd_List_EditOne ("Country Names")
Fnd_List_EditorListsThe 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_InfoListsReturns the requested information about the component. $version_t:=Fnd_List_Info ("version")
Fnd_List_OnExitListsThe 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_OnStartupListsThe 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_DuplicateListLocalizationThis 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_EditorLocalizationDisplays the Localization List Editor window in a new process. See the beginning of this chapter for more information.
Fnd_Loc_FixButtonWidthsLocalizationAdjusts 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_FixLabelWidthsLocalizationOne 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_GetStringLocalizationThis 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_InfoLocalizationReturns the requested information about the component. $language_t:=Fnd_Loc_Info (“language”)
Fnd_Loc_LanguageCodeLocalizationIf no parameters are passed, this routine returns the current language code that Foundation is using for localization. $languageCode:=Fnd_Loc_LanguageCode
Fnd_Log_AddEntryLogThe 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_EnableLogThis 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_InfoLogReturns the requested information about the component. $language_t:=Fnd_Log_Info (“language”)
Fnd_Menu_DisableAllMenusThis 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_InfoMenusThis function returns the requested information about the Menu component. $version_t:=Fnd_Menu_Info ("version")
Fnd_Menu_MenuBarMenusThis 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_MenuBarNameMenusFnd_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_AddMenusAdds 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_RemoveMenusThe 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_BroadcastMessageThe 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_GetMessageThis function returns the next message queued up for the current process. $processmessage_t:=Fnd_Msg_Get (->messsage_blob)
Fnd_Msg_GetParameterMessage
Fnd_Msg_InfoMessageReturns the requested information about the component. $language_t:=Fnd_Msg_Info (“language”)
Fnd_Msg_PackParametersMessage
Fnd_Msg_QuitBackgroundProcessMessageThis 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_SendMessageThis method sends a message to another process. Fnd_Msg_Send (Process number(◊YourProcessName);"Hello, World")
Fnd_Nav_AddButtonMethodNavigationThis 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_AddButtonTableNavigationThis 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_DeleteNavigation
Fnd_Nav_DisplayNavigationFnd_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_InfoNavigationReturns the requested information about the component. $language_t:=Fnd_Nav_Info (“language”)
Fnd_Pref_DisplayPreferencesThis method displays the Preferences window in a new process.
Fnd_Pref_GetBooleanPreferencesReturns the Boolean value of the preference with the specified name: $displayToolbar_b:=Fnd_Pref_GetBoolean ("Toolbar")
Fnd_Pref_GetLongIntPreferencesReturns the long integer value of the preference with the specified name: $timeout_i:=Fnd_Pref_GetLongint ("TimeoutInSeconds")
Fnd_Pref_GetRealPreferencesReturns the real number value of the preference with the specified name: $rate_r:=Fnd_Pref_GetReal ("ExchangeRate")
Fnd_Pref_GetTextPreferencesReturns the text value of the preference with the specified name: $email_t:=Fnd_Pref_GetText ("EmailAddress")
Fnd_Pref_GetWindowPreferencesWindow coordinates are always stored locally. There is no option to store this information as a server or shared preference.
Fnd_Pref_InfoPreferencesReturns the requested information about the component. $version_t:=Fnd_Pref_Info ("version")
Fnd_Pref_SetBooleanPreferencesThis routine stores a Boolean value. Fnd_Pref_SetBoolean ("Toolbar";$displayToolbar_b)
Fnd_Pref_SetLongIntPreferencesThis routine stores a long integer value. Fnd_Pref_SetLongInt ("TimeoutInSeconds";$timeout_i)
Fnd_Pref_SetRealPreferencesThis routine stores a real number value. Fnd_Pref_SetReal ("ExchangeRate";$rate_r)
Fnd_Pref_SetTextPreferencesThis routine stores a text value. Fnd_Pref_SetText ("EmailAddress";$email_t)
Fnd_Pref_SetWindowPreferencesFnd_Pref_SetWindow (name; left; top; right; bottom)
Fnd_Pref_UserNamePreferencesThis 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_BulletEntryPasswordThe 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_CustomCharactersPasswordThis 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_ExcludeCharactersPasswordThis 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_GeneratePasswordPasswordThis function returns a password. $password_t:=Fnd_Pswd_GeneratePassword
Fnd_Pswd_GeneratorDialogPasswordThis function displays a password generator dialog and returns the password. $password_t:=Fnd_Pswd_GeneratorDialog
Fnd_Pswd_InfoPasswordReturns the requested information about the component. $version_t:=Fnd_Pswd_Info ("version")
Fnd_Pswd_MaxLengthPasswordThis 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_MinLengthPasswordThis 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_UseLowercasePasswordThis 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_UseNumbersPasswordThis 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_UseSymbolsPasswordThis 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_UseUppercasePasswordThis 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_DeleteUserSetRecordsFnd_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_InfoRecordsReturns the requested information about the component. $version_t:=Fnd_Rec_Info ("version")
Fnd_Rec_NewRecordRecordsThis 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_OmitSubsetRecordsThis method omits the highlighted records from the current selection. Assumes the frontmost window is displaying a 4D output form.
Fnd_Rec_ShowAllRecordsThis 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_ShowSubsetRecordsThis method reduces the current selection to just the highlighted records. Assumes the frontmost window is displaying a 4D output form.
Fnd_Reg_BuyNowButtonRegistrationThis 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_BuyNowURLRegistrationThis 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_DemoDaysRegistrationThis 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_DemoDialogRegistrationThis 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_DemoDialogFormMethodRegistrationThis method must be called from the “Fnd_Reg_DemoDialog” form method.
Fnd_Reg_DemoMessageRegistrationThis 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_FeatureNameRegistrationThis 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_GetDemoDaysRemainingRegistrationThis 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_GetExpirationDateRegistrationThis 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_GetLicenseInfoRegistrationThis 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_GetUserNameRegistrationThis 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_InfoRegistrationThis function returns the requested information about the Registration component. $version_t:=Fnd_Reg_Info ("version")
Fnd_Reg_RegDialogFormMethodRegistrationThis method must be called from the “Fnd_Reg_RegisterDialog” form method.
Fnd_Reg_RegDialogOKButtonRegistrationThis 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_RegistrationDialogRegistrationThis 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_RegistrationStateRegistrationThis function returns the current registration state for the specified feature: $state_i:=Fnd_Reg_RegistrationState
Fnd_Reg_ResetRegistrationCall this to clear any existing registration information for the specified feature: Fnd_Reg_Reset ("webserver")
Fnd_Reg_SetSecretKeyRegistrationUse this method to set the secret product key for the application: Fnd_Reg_SetSecretKey ("mySecretProductKey_773")
Fnd_Reg_StartDemoPeriodRegistrationCall 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_AdministrationShell
Fnd_Shell_ExcludeFromQuitShellNormally 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_InfoShellReturns the requested information about the component. $version_t:=Fnd_Shell_Info ("version")
Fnd_Shell_IsRunningShellThis 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_NavigationPaletteShellFnd_Shell_NavigationPallette
Fnd_Shell_OnExitShellThis method must be called from the database's On Exit and On Server Shutdown database methods.
Fnd_Shell_OnStartupShellThe 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_OpenTableDialogShellDisplays 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_PrintShellCall this method to display the shell's Print Dialog. Configure the contents of the dialog using the Fnd_Hook_Shell_Print hook.
Fnd_Shell_Show4DSplashScreenShellAllows 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_SpecialFunctionsShell
Fnd_Sort_AddFieldSortFnd_Sort _AddField (->field{; position})
Fnd_Sort_AddSeparatorSortThe 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_AddTableSortThe 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_DirectionSortThis 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_DisplaySortThis 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_InfoSortReturns the requested information about the component. $version_t:=Fnd_Sort_Info ("version")
Fnd_Sort_OrderByEditorSortThis 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_SelectedFieldSortAllows 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_EditorSequence NumbersThis method displays Foundation’s Sequence Number Editor dialog in a new process.
Fnd_SqNo_EnableSequence NumbersThis 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_FixSequence NumbersIf 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_GetSequence NumbersThis 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_InfoSequence NumbersReturns the requested information about the component. $version_t:=Fnd_SqNo_Info ("version")
Fnd_SqNo_PutSequence NumbersCall 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_SetSequence NumbersThis 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_SetRecordIDSequence NumbersAlthough 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_Base64ToTextTextThis function returns the ASCII text of the converted Base64 text. $tASCII_t:=Fnd_Text_Base64ToText (tSomeBase64Text_t)
Fnd_Text_CapitalizeTextThis 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_CapitalizeExcludeTextThe 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_DecodeBase64BlobTextThe Fnd_Text_DecodeBase64Blob method converts a blob from Base64 to ASCII. Fnd_Text_DecodeBase64Blob (->blob)
Fnd_Text_EncodeBase64BlobTextThe 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_FormatNumberTextThis function returns formatted string of the numeric string removing any dashes, "E"s, and periods. $formattednumber_t:=Fnd_Text_FormatNumber ("123.45", "$###.##")
Fnd_Text_InfoTextReturns the requested information about the component. $language_t:=Fnd_Text_Info (“language”)
Fnd_Text_PadSpacesTextThis 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_StripSpacesTextThis 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_TextToBase64TextThis function returns Base64 encoded text. $base64_t:=Fnd_Text_TextToBase64 (text_t)
Fnd_Text_TextToMD5TextThis 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_WrapTextThis 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_AddToolbarFnd_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_CountToolbarThis function returns the number of buttons displayed in the toolbar. $buttonCount_i:=Fnd_Tlbr_Button_Count
Fnd_Tlbr_Button_EnabledToolbarUse 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_IconToolbarCall 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_InsertToolbarUse 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_LabelToolbarThis 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_MenuToolbarUse 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_MethodToolbarCall 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_NameToolbarThis 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_RemoveToolbarThis command removes the button with the specified name from the toolbar. Fnd_Tlbr_Button_Remove ("WizardBttn")
Fnd_Tlbr_ClearToolbarFnd_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_AddToolbarFnd_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_FormMethodToolbarThis 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_InfoToolbarReturns the requested information about the component. $version_t:=Fnd_Tlbr_Info ("version")
Fnd_Tlbr_PlatformToolbarThis 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_RedrawToolbarThis 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_StatusMessageToolbarFnd_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_StyleToolbarFnd_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_CreateNameListsVirtual StructureThis 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_FieldNameVirtual StructureThis 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_GetFieldsVirtual StructureThis 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_GetTablesVirtual StructureThis 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_InfoVirtual StructureThe Fnd_VS_Info method will respond to these requests: Request Response Example name The component’s full...
Fnd_VS_SetFieldTitlesVirtual StructureFnd_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_SetTableTitleVirtual StructureFnd_VS_SetTableTitle allows the developer to set a virtual table title for a single table. Fnd_VS_SetTableTitle (->[Contact];"Customers")
Fnd_VS_SetTableTitlesVirtual StructureFnd_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_TableNameVirtual StructureFnd_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_UseNameListsVirtual StructureAfter 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_CancelCloseAllWindowsCall 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_CloseAllWindowsWindowsCall 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_CloseBoxWindowsCall 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_CloseNowWindowsThis 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_InfoWindowsReturns the requested information about the component. $version_t:=Fnd_Wnd_Info ("version")
Fnd_Wnd_MoveOnScreenWindowsPass 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_OpenFormWindowWindowsPass 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_OpenWindowWindows
Fnd_Wnd_PositionWindowsAllows 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_SavePositionWindowsSaves 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_SendCloseRequestsWindowsAdds 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_SetCloseBoxWindowsThis routine is obsolete. Use the Fnd_Wnd_CloseBox method instead.
Fnd_Wnd_SetPositionWindowsThis routine is obsolete. Use the Fnd_Wnd_Position method instead.
Fnd_Wnd_SetTitleWindowsThis routine is obsolete. Use the Fnd_Wnd_Title method instead.
Fnd_Wnd_SetTypeWindowsThis routine is obsolete. Use the Fnd_Wnd_Type method instead.
Fnd_Wnd_TitleWindowsGets 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_TypeWindowsCall 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_UseSavedPositionWindowsThis 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...