mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Show column comments as hints on data grid header. Fixes issue #1535.
This commit is contained in:
@ -3187,6 +3187,7 @@ begin
|
|||||||
DataGridResult.Columns[idx].Name := Column.Name;
|
DataGridResult.Columns[idx].Name := Column.Name;
|
||||||
col := DataGrid.Header.Columns.Add;
|
col := DataGrid.Header.Columns.Add;
|
||||||
col.Text := Column.Name;
|
col.Text := Column.Name;
|
||||||
|
col.Hint := Column.Comment;
|
||||||
col.Options := col.Options + [coSmartResize];
|
col.Options := col.Options + [coSmartResize];
|
||||||
if not visible then col.Options := col.Options - [coVisible];
|
if not visible then col.Options := col.Options - [coVisible];
|
||||||
// Sorting color and title image
|
// Sorting color and title image
|
||||||
|
Reference in New Issue
Block a user