summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-02-25 14:37:36 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-02-25 14:37:36 +0200
commit2553e165221735e8b5e4f1cecd63fb1cef1363ea (patch)
treee64773a4c21b166c00c8c0c894d040b32a8764f4
parent76d8bf9a89b71f6739d5171866f0650d221ab51d (diff)
downloadfpGUI-2553e165221735e8b5e4f1cecd63fb1cef1363ea.tar.xz
Published Hint and ShowHint on all widgets.
-rw-r--r--src/gui/fpg_checkbox.pas1
-rw-r--r--src/gui/fpg_combobox.pas1
-rw-r--r--src/gui/fpg_edit.pas22
-rw-r--r--src/gui/fpg_editcombo.pas1
-rw-r--r--src/gui/fpg_form.pas1
-rw-r--r--src/gui/fpg_gauge.pas1
-rw-r--r--src/gui/fpg_hyperlink.pas2
-rw-r--r--src/gui/fpg_listview.pas1
-rw-r--r--src/gui/fpg_memo.pas1
-rw-r--r--src/gui/fpg_panel.pas15
-rw-r--r--src/gui/fpg_popupcalendar.pas17
-rw-r--r--src/gui/fpg_progressbar.pas1
-rw-r--r--src/gui/fpg_radiobutton.pas1
-rw-r--r--src/gui/fpg_tab.pas1
-rw-r--r--src/gui/fpg_trackbar.pas3
-rw-r--r--src/gui/fpg_tree.pas1
16 files changed, 47 insertions, 23 deletions
diff --git a/src/gui/fpg_checkbox.pas b/src/gui/fpg_checkbox.pas
index 87a1b4df..67ab9e96 100644
--- a/src/gui/fpg_checkbox.pas
+++ b/src/gui/fpg_checkbox.pas
@@ -69,6 +69,7 @@ type
property BoxLayout;
property Checked;
property FontDesc;
+ property Hint;
property ParentShowHint;
property ShowHint;
property TabOrder;
diff --git a/src/gui/fpg_combobox.pas b/src/gui/fpg_combobox.pas
index 6e34704e..23f99bef 100644
--- a/src/gui/fpg_combobox.pas
+++ b/src/gui/fpg_combobox.pas
@@ -141,6 +141,7 @@ type
property FocusItem;
property FontDesc;
property Height;
+ property Hint;
property Items;
property Margin;
property Options;
diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas
index aab137af..6f50168a 100644
--- a/src/gui/fpg_edit.pas
+++ b/src/gui/fpg_edit.pas
@@ -161,6 +161,7 @@ type
property FontDesc;
property HeightMargin;
property HideSelection;
+ property Hint;
property MaxLength;
property ParentShowHint;
property PasswordMode;
@@ -245,6 +246,7 @@ type
property Text;
published
property CustomThousandSeparator;
+ property Hint;
property NegativeColor;
property ParentShowHint;
property ReadOnly;
@@ -280,18 +282,19 @@ type
property OldColor;
property Text;
published
- property Decimals: integer read FDecimals write SetDecimals default -1;
property CustomDecimalSeparator;
+ property CustomThousandSeparator;
+ property Decimals: integer read FDecimals write SetDecimals default -1;
property FixedDecimals: boolean read FFixedDecimals write SetFixedDecimals default False;
+ property Hint;
property NegativeColor;
+ property ParentShowHint;
+ property ReadOnly;
+ property ShowHint;
property ShowThousand default True;
property TabOrder;
property TextColor;
- property CustomThousandSeparator;
property Value: extended read GetValue write SetValue;
- property ParentShowHint;
- property ReadOnly;
- property ShowHint;
property OnChange;
property OnEnter;
property OnExit;
@@ -317,16 +320,17 @@ type
property OldColor;
property Text;
published
- property Decimals: integer read FDecimals write SetDecimals default 2;
- property NegativeColor;
property CustomDecimalSeparator;
property CustomThousandSeparator;
- property ShowThousand default True;
- property Value: Currency read GetValue write SetValue;
+ property Decimals: integer read FDecimals write SetDecimals default 2;
+ property Hint;
+ property NegativeColor;
property ParentShowHint;
property ReadOnly;
property ShowHint;
+ property ShowThousand default True;
property TabOrder;
+ property Value: Currency read GetValue write SetValue;
property OnChange;
property OnEnter;
property OnExit;
diff --git a/src/gui/fpg_editcombo.pas b/src/gui/fpg_editcombo.pas
index 8d660664..83eccb28 100644
--- a/src/gui/fpg_editcombo.pas
+++ b/src/gui/fpg_editcombo.pas
@@ -120,6 +120,7 @@ type
property FocusItem;
property FontDesc;
property Height;
+ property Hint;
property Items;
property Margin;
property Text;
diff --git a/src/gui/fpg_form.pas b/src/gui/fpg_form.pas
index ee3bbe16..fbdf5dc9 100644
--- a/src/gui/fpg_form.pas
+++ b/src/gui/fpg_form.pas
@@ -107,6 +107,7 @@ type
published
property BackgroundColor;
property FullScreen;
+ property Hint;
property ModalResult;
property Sizeable;
property ShowHint;
diff --git a/src/gui/fpg_gauge.pas b/src/gui/fpg_gauge.pas
index b8678828..3d21eed8 100644
--- a/src/gui/fpg_gauge.pas
+++ b/src/gui/fpg_gauge.pas
@@ -87,6 +87,7 @@ type
property Color: TfpgColor read FColor write FColor default clButtonFace;
property Enabled;
property FirstColor: TfpgColor read FFirstColor write SetFirstColor default clBlack;
+ property Hint;
property Kind: TGaugeKind read FKind write SetGaugeKind default gkHorizontalBar;
property MaxValue: Longint read FMax write SetMax default 100;
property MinValue: Longint read FMin write SetMin default 0;
diff --git a/src/gui/fpg_hyperlink.pas b/src/gui/fpg_hyperlink.pas
index ffed0bfb..c855d930 100644
--- a/src/gui/fpg_hyperlink.pas
+++ b/src/gui/fpg_hyperlink.pas
@@ -52,10 +52,12 @@ type
published
property Autosize;
property FontDesc;
+ property Hint;
property HotTrackColor: TfpgColor read fHotTrackColor write SetHotTrackColor;
property HotTrackFont: TfpgString read fHTFont write SetHotTrackFont;
property Text;
property TextColor;
+ property ShowHint;
property URL: TfpgString read FUrl write SetURL;
property OnClick;
end;
diff --git a/src/gui/fpg_listview.pas b/src/gui/fpg_listview.pas
index f6688787..c1371a76 100644
--- a/src/gui/fpg_listview.pas
+++ b/src/gui/fpg_listview.pas
@@ -251,6 +251,7 @@ type
property ItemHeight: Integer read GetItemHeight;
property ItemIndex: Integer read FItemIndex write SetItemIndex;
property Items: TfpgLVItems read FItems write SetItems;
+ property Hint;
property MultiSelect: Boolean read FMultiSelect write SetMultiSelect;
property ParentShowHint;
property SelectionFollowsFocus: Boolean read FSelectionFollowsFocus write FSelectionFollowsFocus;
diff --git a/src/gui/fpg_memo.pas b/src/gui/fpg_memo.pas
index 89780258..504c93d3 100644
--- a/src/gui/fpg_memo.pas
+++ b/src/gui/fpg_memo.pas
@@ -110,6 +110,7 @@ type
published
property BackgroundColor default clBoxColor;
property FontDesc: string read GetFontDesc write SetFontDesc;
+ property Hint;
property Lines: TStringList read FLines;
property ParentShowHint;
property ShowHint;
diff --git a/src/gui/fpg_panel.pas b/src/gui/fpg_panel.pas
index e5a2e3f2..7208d351 100644
--- a/src/gui/fpg_panel.pas
+++ b/src/gui/fpg_panel.pas
@@ -63,10 +63,11 @@ type
published
property BackgroundColor;
property BorderStyle;
- property Shape: TPanelShape read FPanelShape write SetPanelShape default bsBox;
- property Style;
+ property Hint;
property ParentShowHint;
+ property Shape: TPanelShape read FPanelShape write SetPanelShape default bsBox;
property ShowHint;
+ property Style;
property OnClick;
property OnDoubleClick;
property OnMouseDown;
@@ -110,15 +111,16 @@ type
property BackgroundColor;
property BorderStyle;
property FontDesc: string read GetFontDesc write SetFontDesc;
+ property Hint;
property Layout: TLayout read GetLayout write SetLayout default tlCenter;
- property Style;
- property Text: string read GetText write SetText;
- property TextColor;
property LineSpace: integer read GetLineSpace write SetLineSpace default 2;
property Margin: integer read GetMargin write SetMargin default 2;
- property WrapText: boolean read GetWrapText write SetWrapText default False;
property ParentShowHint;
property ShowHint;
+ property Style;
+ property Text: string read GetText write SetText;
+ property TextColor;
+ property WrapText: boolean read GetWrapText write SetWrapText default False;
property OnClick;
property OnDoubleClick;
end;
@@ -149,6 +151,7 @@ type
property BackgroundColor;
property BorderStyle;
property FontDesc: string read GetFontDesc write SetFontDesc;
+ property Hint;
property Margin: integer read GetMargin write SetMargin default 2;
property ParentShowHint;
property ShowHint;
diff --git a/src/gui/fpg_popupcalendar.pas b/src/gui/fpg_popupcalendar.pas
index d3e6388c..aed7f2ab 100644
--- a/src/gui/fpg_popupcalendar.pas
+++ b/src/gui/fpg_popupcalendar.pas
@@ -170,20 +170,21 @@ type
constructor Create(AOwner: TComponent); override;
published
property BackgroundColor;
+ { Clicking on calendar Today button will close the popup calendar by default }
+ property CloseOnSelect: boolean read FCloseOnSelect write SetCloseOnSelect default True;
property DateFormat: string read FDateFormat write SetDateFormat;
property DateValue: TDateTime read FDate write SetDateValue;
- property FontDesc;
- property MinDate: TDateTime read FMinDate write SetMinDate;
- property MaxDate: TDateTime read FMaxDate write SetMaxDate;
- property WeekStartDay: integer read FWeekStartDay write SetWeekStartDay default 0;
- property WeeklyHoliday: integer read FWeeklyHoliday write SetWeeklyHoliday default -1;
property DayColor: TfpgColor read FDayColor write SetDayColor;
+ property FontDesc;
+ property Hint;
property HolidayColor: TfpgColor read FHolidayColor write SetHolidayColor;
- property SelectedColor: TfpgColor read FSelectedColor write SetSelectedColor;
+ property MaxDate: TDateTime read FMaxDate write SetMaxDate;
+ property MinDate: TDateTime read FMinDate write SetMinDate;
property ParentShowHint;
+ property SelectedColor: TfpgColor read FSelectedColor write SetSelectedColor;
property ShowHint;
- { Clicking on calendar Today button will close the popup calendar by default }
- property CloseOnSelect: boolean read FCloseOnSelect write SetCloseOnSelect default True;
+ property WeeklyHoliday: integer read FWeeklyHoliday write SetWeeklyHoliday default -1;
+ property WeekStartDay: integer read FWeekStartDay write SetWeekStartDay default 0;
property TabOrder;
property OnChange;
property OnCloseUp;
diff --git a/src/gui/fpg_progressbar.pas b/src/gui/fpg_progressbar.pas
index 72355493..67b69c95 100644
--- a/src/gui/fpg_progressbar.pas
+++ b/src/gui/fpg_progressbar.pas
@@ -61,6 +61,7 @@ type
TfpgProgressBar = class(TfpgCustomProgressBar)
published
property BackgroundColor default $c4c4c4;
+ property Hint;
property ShowCaption;
property Max;
property Min;
diff --git a/src/gui/fpg_radiobutton.pas b/src/gui/fpg_radiobutton.pas
index 97303bb5..5ccb271b 100644
--- a/src/gui/fpg_radiobutton.pas
+++ b/src/gui/fpg_radiobutton.pas
@@ -65,6 +65,7 @@ type
property BackgroundColor;
property Checked: boolean read FChecked write SetChecked default False;
property FontDesc: string read GetFontDesc write SetFontDesc;
+ property Hint;
property BoxLayout: TBoxLayout read GetBoxLayout write SetBoxLayout default tbLeftBox;
property GroupIndex: integer read FGroupIndex write FGroupIndex;
property ParentShowHint;
diff --git a/src/gui/fpg_tab.pas b/src/gui/fpg_tab.pas
index d656ad3a..86127e2f 100644
--- a/src/gui/fpg_tab.pas
+++ b/src/gui/fpg_tab.pas
@@ -127,6 +127,7 @@ type
property ActivePageIndex: integer read GetActivePageIndex write SetActivePageIndex;
property BackgroundColor;
property FixedTabWidth: integer read FFixedTabWidth write SetFixedTabWidth default 0;
+ property Hint;
property ParentShowHint;
property ShowHint;
property SortPages: boolean read FSortPages write SetSortPages default False;
diff --git a/src/gui/fpg_trackbar.pas b/src/gui/fpg_trackbar.pas
index 9dc15b95..36233d47 100644
--- a/src/gui/fpg_trackbar.pas
+++ b/src/gui/fpg_trackbar.pas
@@ -69,9 +69,11 @@ type
constructor Create(AOwner: TComponent); override;
published
property BackgroundColor;
+ property Hint;
property Min: integer read FMin write SetMin default 0;
property Max: integer read FMax write SetMax default 10;
property Position: integer read FPosition write SetTBPosition default 0;
+ property ShowHint;
property SliderSize: integer read FSliderSize write SetSliderSize default 11;
property Orientation: TOrientation read FOrientation write FOrientation default orHorizontal;
property TabOrder;
@@ -118,6 +120,7 @@ type
property Min: integer read FMin write SetMin default 0;
property Max: integer read FMax write SetMax default 100;
property ParentShowHint;
+ property Hint;
property ShowHint;
property ShowPosition: boolean read FShowPosition write SetShowPosition default False;
property Orientation: TOrientation read FOrientation write FOrientation default orHorizontal;
diff --git a/src/gui/fpg_tree.pas b/src/gui/fpg_tree.pas
index 19c41fb9..b7f52c7a 100644
--- a/src/gui/fpg_tree.pas
+++ b/src/gui/fpg_tree.pas
@@ -234,6 +234,7 @@ type
property ParentShowHint;
property ScrollWheelDelta: integer read FScrollWheelDelta write FScrollWheelDelta default 15;
property ShowColumns: boolean read FShowColumns write SetShowColumns default False;
+ property Hint;
property ShowHint;
property ShowImages: boolean read FShowImages write SetShowImages default False;
property TabOrder;