You can access the application object using the following statement:
app = getAFXApp()
The following list shows some of the most commonly used application methods:
getAFXMainWindow()
Returns a handle to the main window object.
getProductName()
Returns the product name.
getVersionNumbers()
Returns a tuple of (majorNumber, minorNumber, updateNumber).
getPrerelease()
Returns True if this application is a prerelease.
beep()
Rings the system bell.