===============================================
Dialog - class to represent Dialog
===============================================
Note that objects of this class cannot be created explicitly, they are only generated as a result of Glyph().Audit() operation
CONSTRUCTOR:
Dialog(DialogClass) - generic constructor
ATTRIBUTES:
title - dialog title
ok - text on the OK button
cancel - text on the Cancel button
position - position of the dialog's origin
size - dialog size
rectangle (combination of size and position)
OPERATIONS:
METHODS
Center() - center dialog on screen
AddControl(integer ControlType, Rect dimension, string identifier, integer ControlStyle)
- adds a control to the dialog, see FLdict for
Type- and Style-constants
GetValue(string identifier) - get value from the specified control
PutValue(string identifier) - put value to the specified control
Enable(string identifier, integer value)
- enable (value=1) or disable (value=0) the specified control
Show(string identifier, integer value)
- show (value=1) or hide (value=0) the specified control
SetLabel(string identifier, string value)
- set the label of the specified control
GetRect(string identifier) - get dimension of the specified control as a Rect object
Repaint(string identifier) - redraw the specified (custom)control
Run() - run the dialog
End()|End(integer returnvalue) - end the dialog