Affix a title to a grid, column, or split by setting the Caption property of the appropriate object.
Me.C1TrueDBGrid1.Caption = "Grid Caption"
Me.C1TrueDBGrid1.Columns(0).Caption = "Column 0 Caption"
Me.C1TrueDBGrid1.Splits(0).Caption = "Split 0 Caption"
· C#
this.c1TrueDBGrid1.Caption = "Grid Caption";
this.c1TrueDBGrid1.Columns.[0].Caption = "Column 0 Caption";
this.c1TrueDBGrid1.Splits[0].Caption = "Split 0 Caption";
· Delphi
Self.C1TrueDBGrid1.Caption := 'Grid Caption';
Self.C1TrueDBGrid1.Columns[0].Caption := 'Column 0 Caption';
Self.C1TrueDBGrid1.Splits[0].Caption := 'Split 0 Caption';
Multiple-Line Headers and Footers
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |