Methods for cApplication

View method list in alphabetical order

NameTypeDescription
DFBinPathFunctionReturns the Bin folder of the current DataFlex version
DFRootPathFunctionReturns the Root folder of the current DataFlex version
DoLoadEnvironmentProcedureLoads size/location information from the registry at startup
DoOpenWorkspaceProcedureOpens a Workspace
DoSaveEnvironmentProcedureWrites the Program/Views size and location to the registry
GetApplicationFileNameFunctionReturns the qualified filename of the application
GetApplicationNameFunctionReturns filename of the application without any path or extension
GetApplicationPathFunctionReturns the path that the program is running in
ReadBinaryFunctionReads binary data from the Windows Registry
ReadIntegerFunctionReads integer data from the Windows Registry
ReadStringFunctionReads string data from the Windows registry
ReadUIntFunctionReads UInteger data from the Windows registry
RegistryKeyStringFunctionReturns the name of the Key that will be used to access the registry for user-defined values in the application object
ResetWindowPosProcedureCalled during DoLoadEnvironment for the main application window when the main window's placement would position the window outside the current Windows desktop
ValueExistsFunctionTests whether an application-specific registry key/value exists
WriteBinaryProcedureWrites Binary data to the Windows registry
WriteIntegerProcedureWrites Integer data to the Windows registry
WriteStringProcedureWrites String data to the Windows registry
WriteUIntegerProcedureWrites UInteger data to the Windows registry

Inherited Methods from cObject

ChildByIndexFunctionCan be used to iterate the direct children of an object
ClassSuperClassFunctionReturns the superclass of the passed class
CreateFunctionCreates an object based on the passed Class Id
CreateNamedFunctionCreates an object based on the passed Class Id and assigns it a name Name based on a passed name
DestroyProcedureDestroys the object that receives the message and any child objects of that object
Exit_ApplicationProcedureStarts the process of closing an application
IsClassOfClassFunctionDetermines whether the target class is part of the searched class's hierarchy
IsObjectOfClassFunctionDetermines whether the passed class is part of the object's class hierarchy
ObjectClassFunctionReturns the integer class ID assigned to the class this object is based on
Request_Destroy_ObjectProcedureUse the Destroy method instead [Obsolete]