Sign in Join

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

Mailing lists / lazarus / 2012-05

TStringGrid: Custom Columns x standard columns

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Alexsander Rosa

How do I get the column index (for use with Cells[]) from a TColumn's "title" with ColMove enabled?
I need to track where the user moved the column to; at first, TColumn[0] is at column 1 (FixedCols=1).
When the user moves TColumn[0] to somewhere else, how do I keep track of that?

Atenciosamente, Alexsander da Rosa http://rednaxel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120502/ce1cefcb/attachment.html>

Reply by email

John Landmesser
to Alexsander Rosa
Alexsander Rosa wrote 18 lines
How do I get the column index (for use with Cells[]) from a TColumn's "title" with ColMove enabled? I need to track where the user moved the column to; at first, TColumn[0] is at column 1 (FixedCols=1). When the user moves TColumn[0] to somewhere else, how do I keep track of that? -- Atenciosamente, Alexsander da Rosa http://rednaxel.com -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

TStringGrid.OnColRowMoved
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120502/43eb58d0/attachment.html>

Reply by email