--- "Hess, Philip J" <[EMAIL PROTECTED]> escribió:

> Wouldn't it make more sense to have the GridLineWidth property
> default to 1 and show 1 in Object Inspector so it's Delphi
> compatible? I.e., GridLineWidth is not saved to form file unless a
> value other than 1 is entered.
> 

Yes, it should work like that. Previously no value was explicitly set
in GridLineWidth so it was 0 in object inspector and that was a bug
(unnoticed because this property was ignored) as result and because
as GridLineWidth was declared as "default 1" the line "GridLineWidth
= 0" was streamed into lfm file in all forms that have stringgrids or
drawgrids, so now even when 1 is used correctly in grid constructor,
the stored 0 overrides this at loading.

for new projects nothing have to be done, for old projects one have
to manually change the value from 0 to 1, if something is not working
please report.


Jesus Reyes A.


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to