diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-09-06 15:25:56 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2007-09-06 15:25:56 +0000 |
commit | 7d76bc5a71cccf70ab7e6c49fd3ea8d9c93f1e8c (patch) | |
tree | 0cdf0649dbe423b6a20dd1ea237084e49da77d27 /src/gui | |
parent | 2564d6bb66a9d3d8fb58820d58c2d8c4c9acc729 (diff) | |
download | fpGUI-7d76bc5a71cccf70ab7e6c49fd3ea8d9c93f1e8c.tar.xz |
* Moved some methods or properties to the public or published area.
* Added a new example project. A fpGUI visual form designer. Still not working 100% but it is getting there.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui_form.pas | 2 | ||||
-rw-r--r-- | src/gui/gui_listbox.pas | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui_form.pas b/src/gui/gui_form.pas index d4fb9ace..4e075068 100644 --- a/src/gui/gui_form.pas +++ b/src/gui/gui_form.pas @@ -53,10 +53,10 @@ type procedure Close; property Sizeable: boolean read FSizeable write FSizeable; property WindowPosition: TWindowPosition read FWindowPosition write FWindowPosition; - property WindowTitle: string read FWindowTitle write SetWindowTitle; property ModalResult: integer read FModalResult write FModalResult; published {$Note Refactor this to a TfpgCustomForm and only surface it here } + property WindowTitle: string read FWindowTitle write SetWindowTitle; property OnActivate: TNotifyEvent read FOnActivate write FOnActivate; property OnClose: TNotifyEvent read FOnClose write FOnClose; property OnCreate: TNotifyEvent read FOnCreate write FOnCreate; diff --git a/src/gui/gui_listbox.pas b/src/gui/gui_listbox.pas index d565c7c8..799f8aaf 100644 --- a/src/gui/gui_listbox.pas +++ b/src/gui/gui_listbox.pas @@ -81,10 +81,10 @@ type // component developers. TfpgTextListBox = class(TfpgBaseListBox) protected - FItems: TStrings; + FItems: TStringList; FInternalItems: TStrings; procedure DrawItem(num: integer; rect: TfpgRect; flags: integer); override; - property Items: TStrings read FItems; + property Items: TStringList read FItems; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; |