Dialog

FL.Dialog = class Dialog(object)

===============================================
  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

Methods

AddControl(...)


Center(...)


Enable(...)


End(...)


GetRect(...)


GetValue(...)


MoveTo(...)


PutValue(...)


Repaint(...)


Run(...)


SetLabel(...)


Show(...)


__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Descriptors

cancel
ok
position
rectangle
size
title

Attributes

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T