diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-05-05 11:11:16 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-05-05 11:11:16 +0000 |
commit | a461d3206b5625fb7a45cafa218495ea59868927 (patch) | |
tree | ee965fa3278efcbf3d4605a47a9fabea3aaf89c8 /examples/apps | |
parent | 50dff4b82733d267e0b5b7dba5b35d0036b5c333 (diff) | |
download | fpGUI-a461d3206b5625fb7a45cafa218495ea59868927.tar.xz |
* Fixed the Grid creation and setup. It caused issues in the UI Designer under Windows.
Diffstat (limited to 'examples/apps')
-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; |