Recent

Author Topic: Cannot edit TStringGrid Column title  (Read 778 times)

wytwyt02

  • Jr. Member
  • **
  • Posts: 83
Cannot edit TStringGrid Column title
« on: November 20, 2019, 10:18:37 pm »
Cannot edit the title in the form builder

jamie

  • Hero Member
  • *****
  • Posts: 6091
Re: Cannot edit TStringGrid Column title
« Reply #1 on: November 20, 2019, 10:38:58 pm »
Works for me..

If you Select the TGridColumn up top, then select in properties, Title then Caption you can set the caption.

  In code you basically do the same thing..

 Columns[?].Title.Caption := '/////';

Is that what you needed ?

The only true wisdom is knowing you know nothing

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Cannot edit TStringGrid Column title
« Reply #2 on: November 20, 2019, 10:40:28 pm »
If you click the ellipsis [...] button of the Columns property, this opens a Columns editor which allows you to add columns.
Having added the columns you want, select one of them in the object tree (the pane at the top of the Object Inspector).
Among the column's editable properties is Title.
Beside the Title property is a small + or chevron icon, which you can click to open its subproperties. One Title subproperty is Caption.

wytwyt02

  • Jr. Member
  • **
  • Posts: 83
Re: Cannot edit TStringGrid Column title
« Reply #3 on: November 22, 2019, 04:41:09 am »
If you click the ellipsis [...] button of the Columns property, this opens a Columns editor which allows you to add columns.
Having added the columns you want, select one of them in the object tree (the pane at the top of the Object Inspector).
Among the column's editable properties is Title.
Beside the Title property is a small + or chevron icon, which you can click to open its subproperties. One Title subproperty is Caption.

you are right, thanks

 

TinyPortal © 2005-2018