Component
General Component
25 language-reference entries were extracted for this component.
- Fnd_Gen_BugAlert 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 This function returns the requested information about the General component. $version_t:=Fnd_Gen_Info ("version")
- Fnd_Gen_LaunchAsNewProcess 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 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 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 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 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 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 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 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 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...