summaryrefslogtreecommitdiff
path: root/uidesigner/vfdpropeditgrid.pas
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-07 12:32:59 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-04-07 12:32:59 +0200
commit2b0bb6d1167e479404bd5d616f4d6155b1a92255 (patch)
tree364ebdb5572305754a0fb383b08e9240fb946abe /uidesigner/vfdpropeditgrid.pas
parent063cf4313bff63e6ec61596e681ac9674b1b7a49 (diff)
downloadfpGUI-2b0bb6d1167e479404bd5d616f4d6155b1a92255.tar.xz
ModalResult changed to a enum type
* Replaced all magic number modal results with actual enum values * UI Designer now uses enum combolist for ModalResult type in Object Inspector. * UI Designer now handles default values of ModalResult property correctly.
Diffstat (limited to 'uidesigner/vfdpropeditgrid.pas')
-rw-r--r--uidesigner/vfdpropeditgrid.pas5
1 files changed, 0 insertions, 5 deletions
diff --git a/uidesigner/vfdpropeditgrid.pas b/uidesigner/vfdpropeditgrid.pas
index bd41f3ee..1a6944cb 100644
--- a/uidesigner/vfdpropeditgrid.pas
+++ b/uidesigner/vfdpropeditgrid.pas
@@ -227,7 +227,6 @@ begin
Text := 'New';
FontDesc := '#Label1';
ImageName := '';
- ModalResult := 0;
OnClick := @NewButtonClick;
end;
@@ -239,7 +238,6 @@ begin
Text := 'Delete';
FontDesc := '#Label1';
ImageName := '';
- ModalResult := 0;
OnClick := @DeleteButtonClick;
end;
@@ -251,7 +249,6 @@ begin
Text := 'UP';
FontDesc := '#Label1';
ImageName := '';
- ModalResult := 0;
OnClick := @UpDownButtonClick;
end;
@@ -263,7 +260,6 @@ begin
Text := 'DOWN';
FontDesc := '#Label1';
ImageName := '';
- ModalResult := 0;
OnClick := @UpDownButtonClick;
end;
@@ -275,7 +271,6 @@ begin
Text := 'Close';
FontDesc := '#Label1';
ImageName := 'stdimg.close';
- ModalResult := 0;
OnClick := @CloseButtonClick;
end;