Skip to content

FL.Dialog

Dialog

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

Native bases: object

Captured native MRO: Dialog, object

Native new allocation evidence (not an init overload): (args, *kwargs) Create and return a new object. See help(type) for accurate signature.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
AddControl function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.AddControl; argument details are not documented.
Center function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.Center; argument details are not documented.
Enable function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.Enable; argument details are not documented.
End function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.End; argument details are not documented.
GetRect function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.GetRect; argument details are not documented.
GetValue function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.GetValue; argument details are not documented.
MoveTo function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.MoveTo; argument details are not documented.
PutValue function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.PutValue; argument details are not documented.
Repaint function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.Repaint; argument details are not documented.
Run function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.Run; argument details are not documented.
SetLabel function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.SetLabel; argument details are not documented.
Show function (self, *args: Any, **kwargs: Any) -> Any Native FL.Dialog.Show; argument details are not documented.
__init__ function (self, /, *args: Any, **kwargs: Any) -> None Initialize self. (shared captured text)
cancel attribute Any
ok attribute Any
position attribute Any
rectangle attribute Any
size attribute Any
title attribute Any