summaryrefslogtreecommitdiff
path: root/uidesigner/vfdwidgetclass.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2009-04-07 11:43:30 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2009-04-07 11:43:30 +0200
commita6964c90281beb31f89103006c7eceb9f22cf439 (patch)
treea88a6c05693cec75e1d1e13e5dff7f76780bd10d /uidesigner/vfdwidgetclass.pas
parent1f0f4f83720e3b6f008e6c2dea3dee625d62d3ec (diff)
downloadfpGUI-a6964c90281beb31f89103006c7eceb9f22cf439.tar.xz
Added support for changing the tabs in the PageControl while
in the Form Designer. It's not perfect, but workable. ;-)
Diffstat (limited to 'uidesigner/vfdwidgetclass.pas')
-rw-r--r--uidesigner/vfdwidgetclass.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/uidesigner/vfdwidgetclass.pas b/uidesigner/vfdwidgetclass.pas
index 98d89f31..b2dd6e6d 100644
--- a/uidesigner/vfdwidgetclass.pas
+++ b/uidesigner/vfdwidgetclass.pas
@@ -77,6 +77,7 @@ type
WidgetIconName: string;
NameBase: string;
Container: boolean;
+ BlockMouseMsg: boolean;
constructor Create(aClass: TWidgetClass);
destructor Destroy; override;
function AddProperty(apropname: string; apropclass: TVFDPropertyClass; desc: string): TVFDWidgetProperty;
@@ -115,6 +116,7 @@ begin
Description := '';
NameBase := 'Widget';
Container := False;
+ BlockMouseMsg := True;
end;
function TVFDWidgetClass.CreateWidget(AOwner: TComponent): TfpgWidget;