Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-06

TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Alexsander Rosa
Alexsander Rosa wrote
TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns). Is it possible? I would like to resize a column that is one of the FixedCols -- but I need the "freeze pane" feature.

This one I would REALLY like myself. A serious shortcoming of the grid. (in Delphi as well)

Michael.

Reply by email

Alexsander Rosa
to Graeme Geldenhuys

"Freeze pane" is an expression from Excel spreadsheet: you "freeze" a few columns (usually with identification data) and scroll the rest. In TStringGrid it's done with FixedCols: they remain fixed (frozen) and the rest of the columns can be scrolled. This part is fine, the "freeze pane" feature is there. However, in TStringGrid the fixed columns can't be manually resized even when you set goColumnResize to true. I wish there were an option like "goFixedColsResize" or something.

2011/7/1 Graeme Geldenhuys

Show quoted text 13 lines
On 06/30/2011 08:10 PM, Alexsander Rosa wrote: > TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns). Can you explain more of what "freeze pane" does? Any links or screenshots of other grid components that support this feature? Regards, - Graeme -
Atenciosamente, Alexsander da Rosa http://rednaxel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110701/d97e47f6/attachment.html>

Reply by email

Luiz Americo Pereira Camara
to Alexsander Rosa
Alexsander Rosa wrote 7 lines
"Freeze pane" is an expression from Excel spreadsheet: you "freeze" a few columns (usually with identification data) and scroll the rest. In TStringGrid it's done with FixedCols: they remain fixed (frozen) and the rest of the columns can be scrolled. This part is fine, the "freeze pane" feature is there. However, in TStringGrid the fixed columns can't be manually resized even when you set goColumnResize to true. I wish there were an option like "goFixedColsResize" or something.

VirtualTreeView implements that

See in advanced demo "GridDemo"

Luiz

Reply by email

Jesus Reyes
to Alexsander Rosa: "Freeze pane" is an expression from Excel spreadsheet: you "freeze" a few columns…

--- El vie 1-jul-11, Alexsander Rosa escribi?:

De: Alexsander Rosa
Asunto: Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns) A: "Lazarus mailing list"
Fecha: viernes, 1 de julio de 2011, 7:44

"Freeze pane" is an expression from Excel spreadsheet: you "freeze" a few columns (usually with identification data) and scroll the rest. In TStringGrid it's done with FixedCols: they remain fixed (frozen) and the rest of the columns can be scrolled. This part is fine, the "freeze pane" feature is there. However, in TStringGrid the fixed columns can't be manually resized even when you set goColumnResize to true. I wish there were an option like "goFixedColsResize" or something.

Implemented goFixedColSizing in r31521, please test. Jesus Reyes A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110702/4b14d399/attachment-0001.html>

Reply by email

Alexsander Rosa
to Jesus Reyes

Thanks!

2011/7/3 Jesus Reyes

Show quoted text 32 lines
--- El *vie 1-jul-11, Alexsander Rosa *escribi?: De: Alexsander Rosa Asunto: Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns) A: "Lazarus mailing list" Fecha: viernes, 1 de julio de 2011, 7:44 "Freeze pane" is an expression from Excel spreadsheet: you "freeze" a few columns (usually with identification data) and scroll the rest. In TStringGrid it's done with FixedCols: they remain fixed (frozen) and the rest of the columns can be scrolled. This part is fine, the "freeze pane" feature is there. However, in TStringGrid the fixed columns can't be manually resized even when you set goColumnResize to true. I wish there were an option like "goFixedColsResize" or something. Implemented goFixedColSizing in r31521, please test. Jesus Reyes A. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Atenciosamente, Alexsander da Rosa http://rednaxel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110704/3aff1f7f/attachment.html>

Reply by email