diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-24 11:32:56 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-08-24 11:32:56 +0000 |
commit | 91e7bc73a36017ccc7a8d94727b2f6f51c0c83f6 (patch) | |
tree | 3ff1a6ca0f4091a94f0ae8ec092b1d263d59da0f /src/corelib/gfx_widget.pas | |
parent | 0a8f321682c777bfdfb8f5b3b462f8f154b37fbd (diff) | |
download | fpGUI-91e7bc73a36017ccc7a8d94727b2f6f51c0c83f6.tar.xz |
* Ported the Generic Edit Mediator for use with tiOPF.
* Minor changes to other gui controls like missing published properties etc.
* Added a Hint property to TfpgWidget, but it is not usable yet.
Diffstat (limited to 'src/corelib/gfx_widget.pas')
-rw-r--r-- | src/corelib/gfx_widget.pas | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/corelib/gfx_widget.pas b/src/corelib/gfx_widget.pas index 9e9021f8..2032eb3d 100644 --- a/src/corelib/gfx_widget.pas +++ b/src/corelib/gfx_widget.pas @@ -49,6 +49,7 @@ type FAnchors: TAnchors; FActiveWidget: TfpgWidget; FAlign: TAlign; + FHint: string; function GetParent: TfpgWidget; reintroduce; procedure SetParent(const AValue: TfpgWidget); reintroduce; procedure SetEnabled(const AValue: boolean); virtual; @@ -102,6 +103,7 @@ type property Focused: boolean read FFocused write FFocused; property Anchors: TAnchors read FAnchors write FAnchors; property Align: TAlign read FAlign write FAlign; + property Hint: string read FHint write FHint; end; @@ -183,15 +185,16 @@ end; constructor TfpgWidget.Create(AOwner: TComponent); begin - FOnScreen := False; - FVisible := True; + FOnScreen := False; + FVisible := True; FActiveWidget := nil; FEnabled := True; - FFocusable := False; - FFocused := False; - FTabOrder := 0; - FAnchors := [anLeft, anTop]; - FAlign := alNone; + FFocusable := False; + FFocused := False; + FTabOrder := 0; + FAnchors := [anLeft, anTop]; + FAlign := alNone; + FHint := ''; // OnKeyPress := nil; if (AOwner <> nil) and (AOwner is TfpgWidget) then |