Skip to content

Methods for cApplication

View method list in alphabetical order.

Name Type Description Defining Class
DFBinPath Function Returns the Bin folder of the current DataFlex version cApplication
DFRootPath Function Returns the Root folder of the current DataFlex version cApplication
DoLoadEnvironment Procedure Loads size/location information from the registry at startup cApplication
DoOpenWorkspace Procedure Opens a Workspace cApplication
DoSaveEnvironment Procedure Writes the Program/Views size and location to the registry cApplication
GetApplicationFileName Function Returns the qualified filename of the application 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 cApplication
ReadBinary Function Reads binary data from the Windows Registry cApplication
ReadInteger Function Reads integer data from the Windows Registry cApplication
ReadString Function Reads string data from the Windows registry cApplication
ReadUInt Function Reads 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
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 cApplication
WriteBinary Procedure Writes Binary data to the Windows registry cApplication
WriteInteger Procedure Writes Integer data to the Windows registry cApplication
WriteString Procedure Writes String data to the Windows registry cApplication
WriteUInteger Procedure Writes UInteger data to the Windows registry cApplication

Inherited Methods from cObject

Name Type Description Defining Class
ChildByIndex Function Can be used to iterate the direct children of an object cObject
ClassSuperClass Function Returns the superclass of the passed class cObject
Create Function Creates an object based on the passed Class Id cObject
CreateNamed Function 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 cObject
Exit_Application Procedure Starts the process of closing an application cObject
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 cObject
ObjectClass Function Returns the integer class ID assigned to the class this object is based on cObject
Request_Destroy_Object Procedure Use the Destroy method instead cObject