--- El lun 8-dic-08, Alexander Klenin <[EMAIL PROTECTED]> escribió:
> De:: Alexander Klenin <[EMAIL PROTECTED]>
> Asunto: [Lazarus] TStringGrid: ColCount vs Columns.Count
> A: "General mailing list" <[email protected]>
> Fecha: lunes, 8 diciembre, 2008, 6:49 pm
> Currently, ColCount and Column.Count values of TStringGrid
> are independent,
> which leads to user errors and confusion.
> It also necessitates many "C <> nil" checks
> throughout the TStringGrid code.
> I propose to implement auto-creation of TGridColimns upon
> every change
> of ColCount, which should eliminate both problems.
> Is it a good idea? Should I enter it into a tracker?
>
> --
> Alexander S. Klenin
> Insight Experts Ltd.
Indeed it worked that way when custom columns (cc) were implemented, what I
didn't like is that it may "cancel" cc without notice, for example when at
design time a set of cc are set up and this is why it currently enforce the use
of cc to change counts.
But I don't really see a problem that colcount changes automatically the number
of cc if there are some already, if there are no cc I think it should not add
any, or what you think about it?
Jesus Reyes A.
¡Todo sobre Amor y Sexo!
La guía completa para tu vida en Mujer de Hoy.
http://mx.mujer.yahoo.com/
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus