summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-04-15 18:59:51 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-04-15 18:59:51 +0200
commit6fd9c31d4f227caae96996838c08797bb78b7f89 (patch)
tree52be87034dd8e525cf3d2d95b8eee32c9b0e940e /src
parent1146230b1ef814a53587242782132d236b7d8927 (diff)
downloadfpGUI-6fd9c31d4f227caae96996838c08797bb78b7f89.tar.xz
FilenameEdit: Fixed the focus issues in the Edit component part.
Diffstat (limited to 'src')
-rw-r--r--src/gui/fpg_editbtn.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/fpg_editbtn.pas b/src/gui/fpg_editbtn.pas
index 082dc59e..785c6ecd 100644
--- a/src/gui/fpg_editbtn.pas
+++ b/src/gui/fpg_editbtn.pas
@@ -12,7 +12,8 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Description:
- Defines a Text Edit control. Also known a Text Entry control.
+ This unit contains various "composite" components. Components that
+ work together as a single component.
}
unit fpg_editbtn;
@@ -28,10 +29,11 @@ uses
,fpg_widget
,fpg_edit
,fpg_button
+ ,fpg_panel
;
type
- TfpgFileNameEdit = class(TfpgWidget)
+ TfpgFileNameEdit = class(TfpgPanel)
private
FEdit: TfpgEdit;
FButton: TfpgButton;
@@ -75,8 +77,6 @@ begin
inherited Create(AOwner);
FWidth := 140;
FHeight := 24;
- FIsContainer := True;
- FFocusable := False;
FFilter := '';
FEdit := TfpgEdit.Create(self);