summaryrefslogtreecommitdiff
path: root/examples/apps/uidesigner/vfdwidgetclass.pas
diff options
context:
space:
mode:
Diffstat (limited to 'examples/apps/uidesigner/vfdwidgetclass.pas')
-rw-r--r--examples/apps/uidesigner/vfdwidgetclass.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/apps/uidesigner/vfdwidgetclass.pas b/examples/apps/uidesigner/vfdwidgetclass.pas
index 19308b35..9729691f 100644
--- a/examples/apps/uidesigner/vfdwidgetclass.pas
+++ b/examples/apps/uidesigner/vfdwidgetclass.pas
@@ -1,5 +1,5 @@
{
- fpGUI - Free Pascal GUI Library
+ fpGUI - Free Pascal GUI Toolkit
Copyright (C) 2006 - 2008 See the file AUTHORS.txt, included in this
distribution, for details of the copyright.
@@ -133,7 +133,7 @@ end;
function TVFDWidgetClass.GetProperty(ind: integer): TVFDWidgetProperty;
begin
- Result := TVFDWidgetProperty(FProps[ind - 1]);
+ Result := TVFDWidgetProperty(FProps[ind]);
end;
function TVFDWidgetClass.PropertyCount: integer;