diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/apps/uidesigner/vfdpropeditgrid.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/apps/uidesigner/vfdpropeditgrid.pas b/examples/apps/uidesigner/vfdpropeditgrid.pas index e469abec..97ebb0e6 100644 --- a/examples/apps/uidesigner/vfdpropeditgrid.pas +++ b/examples/apps/uidesigner/vfdpropeditgrid.pas @@ -380,9 +380,10 @@ end; function TColumnsGrid.GetRowCount: Longword; begin try + // Yes, it must be ColumnCount and *not* RowCount! Result := dbgrid.ColumnCount; except - Result := inherited GetRowCount; + Result := inherited GetColumnCount; end; end; |