Methods for cApplication
View method list in hierarchical order.
| Name | Type | Description | Defining Class |
|---|---|---|---|
| ChildByIndex | Function | Can be used to iterate the direct children of an object ChildByIndex is a function that can be used to iterate the direct children of an object. | cObject |
| ClassSuperClass | Function | Returns the superclass of the passed class This returns the superclass of the passed class. | cObject |
| Create | Function | Creates an object based on the passed Class Id The Create function is used to dynamically create objects. | cObject |
| CreateNamed | Function | Creates an object based on the passed Class Id and assigns it a name Name based on a passed name Creates an object based on the passed Class Id and assigns it a name Name based on a passed name. | cObject |
| Destroy | Procedure | Destroys the object that receives the message and any child objects of that object The Destroy message destroys the object that receives the message. | cObject |
| DFBinPath | Function | Returns the Bin folder of the current DataFlex version Returns the Bin folder of the current DataFlex version containing the runtime files used by the application. | cApplication |
| DFRootPath | Function | Returns the Root folder of the current DataFlex version Returns the Root folder of the current DataFlex version. | cApplication |
| DoLoadEnvironment | Procedure | Loads size/location information from the registry at startup The DoLoadEnvironment procdure is used internally to read the Program and View size/locations from the Registry. | cApplication |
| DoOpenWorkspace | Procedure | Opens a Workspace You can use the DoOpenWorkspace procedure inside OnCreate to open a specific Workspace. | cApplication |
| DoSaveEnvironment | Procedure | Writes the Program/Views size and location to the registry The DoSaveEnvironment procedure is used internally to write the Program and View size/locations to the Registry. | cApplication |
| Exit_Application | Procedure | Starts the process of closing an application The Exit_Application message is used to close the program. | cObject |
| GetApplicationFileName | Function | Returns the qualified filename of the application The GetApplicationFileName function returns the qualified filename of the application, as passed to the program by Windows. | cApplication |
| GetApplicationName | Function | Returns filename of the application without any path or extension | cApplication |
| GetApplicationPath | Function | Returns the path that the program is running in The GetApplicationPath returns the name of the directory that the program is running in. | cApplication |
| IsClassOfClass | Function | Determines whether the target class is part of the searched class's hierarchy | cObject |
| IsObjectOfClass | Function | Determines whether the passed class is part of the object's class hierarchy This returns True if the passed class is part of the object's class hierarchy. | cObject |
| ObjectClass | Function | Returns the integer class ID assigned to the class this object is based on Returns the integer class ID assigned to the class this object is based on. | cObject |
| ReadBinary | Function | Reads binary data from the Windows Registry Use the ReadBinary function to read binary data from the Windows Registry. | cApplication |
| ReadInteger | Function | Reads integer data from the Windows Registry Use the ReadInteger function to read integer data from the Windows Registry. | cApplication |
| ReadString | Function | Reads string data from the Windows registry Use the ReadString function to read string data from the Windows Registry. | cApplication |
| ReadUInt | Function | Reads UInteger data from the Windows registry Use the ReadUInt function to read UInteger data from the Windows Registry. | cApplication |
| RegistryKeyString | Function | Returns the name of the Key that will be used to access the registry for user-defined values in the application object | cApplication |
| Request_Destroy_Object | Procedure | Use the Destroy method instead This method is used to destroy an object and all of its children. | cObject |
| ResetWindowPos | Procedure | Called during DoLoadEnvironment for the main application window when the main window's placement would position the window outside the current Windows desktop | cApplication |
| ValueExists | Function | Tests whether an application-specific registry key/value exists Before you attempt to read a value from the Registry, you should ensure that it exists. | cApplication |
| WriteBinary | Procedure | Writes Binary data to the Windows registry Use WriteBinary to write Binary data that you want stored in the Registry. | cApplication |
| WriteInteger | Procedure | Writes Integer data to the Windows registry Use WriteInteger to write Integer data that you want stored in the Registry. | cApplication |
| WriteString | Procedure | Writes String data to the Windows registry Use WriteString to write String data that you want stored in the Registry. | cApplication |
| WriteUInteger | Procedure | Writes UInteger data to the Windows registry Use WriteUInteger to write UInteger data that you want stored in the Registry. | cApplication |