summaryrefslogtreecommitdiff
path: root/src/gui/gui_edit.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-09-14 09:02:21 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-09-14 09:02:21 +0000
commiteedba8c151df038f4dc25d2e41726e8c6b0f5dd5 (patch)
tree2dd3c8d8151bf1abf7258db5c472dd61a2cf2010 /src/gui/gui_edit.pas
parentc54be16064030a89b627ed491cdafdfef88ab2df (diff)
downloadfpGUI-eedba8c151df038f4dc25d2e41726e8c6b0f5dd5.tar.xz
* New overloaded EndDraw method for TfpgCanvas.
* Finished implementation change of ComboBox internal button. It now uses a fake (painted) button instead of a real button. Up/Down state is also supported. * Implemented Up/Down state for Scrollbar buttons. * Increased the version numbers of the fpGUI packages and uiDesigner. * If TfpgEdit is disabled, the mouse cursor doesn't change to a I beam.
Diffstat (limited to 'src/gui/gui_edit.pas')
-rw-r--r--src/gui/gui_edit.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui_edit.pas b/src/gui/gui_edit.pas
index c94e2bca..ad04f01d 100644
--- a/src/gui/gui_edit.pas
+++ b/src/gui/gui_edit.pas
@@ -546,7 +546,8 @@ begin
inherited HandleMouseEnter;
if (csDesigning in ComponentState) then
Exit;
- MouseCursor := mcIBeam;
+ if Enabled then
+ MouseCursor := mcIBeam;
end;
procedure TfpgEdit.HandleMouseExit;