Sign in Join

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

Mailing lists / lazarus / 2011-02

Property "Tag" at TGridColumn

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Pierre Delore

Hi Alexsander,

Probably you have the same problem I have got.
How to find the correct Column when you allow the user to move them. After some search I find that the property ID give you the index of the column. This index is the position of the column you define in the Column dialog box. With this property I was able to manage the StringGrid as I want (display, save column order to disk, load from disk...).

I hope this will help you.

Pierre Delore http://datalinkwristapps.free.fr http://dpsite.free.fr ----- "Alexsander Rosa" a ?crit : > May I suggest it? Would a patch be accepted? > -- > Atenciosamente, > Alexsander da Rosa > http://rednaxel.com > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110225/609dc5f3/attachment.html>

Reply by email

Alexsander Rosa
to Pierre Delore

Actually I needed it to be available at design time (i.e. visible in the property editor/object inspector).

2011/2/25 Pierre Delore

Show quoted text 38 lines
Hi Alexsander, Probably you have the same problem I have got. How to find the correct Column when you allow the user to move them. After some search I find that the property ID give you the index of the column. This index is the position of the column you define in the Column dialog box. With this property I was able to manage the StringGrid as I want (display, save column order to disk, load from disk...). I hope this will help you. -- Pierre Delore http://datalinkwristapps.free.fr http://dpsite.free.fr ----- "Alexsander Rosa" a ?crit : > May I suggest it? Would a patch be accepted? > -- > Atenciosamente, > Alexsander da Rosa > http://rednaxel.com > > -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ 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/20110225/49c9a155/attachment.html>

Reply by email