[lazarus] Some properties doesn't get saved
Jesus Reyes
jesusrmx at yahoo.com.mx
Fri Oct 31 15:44:13 EST 2003
--- Jens Arm <Jens.Arm at gmx.de> escribió: > Hi
>
> If I change the fixedrows/fixedcols-property of the tstringgrid
> they aren't saved in the *.lrs.
> If I change the Scrollbars property nothing happens.
>
> Jens
>
fixedrows/fixedcols are saved here, however there is a problem when
fixedrows/cols are >= 5.
suppose that i set rowcount=10, fixedrows=5 and save the project, in
the lfm file i get something like this:
...
COLCOUNT = 3
DEFAULTCOLWIDTH = 64
DEFAULTDRAWING = False
DEFAULTROWHEIGHT = 24
FIXEDCOLOR = -2147483633
FIXEDCOLS = 2
FIXEDROWS = 5
GRIDLINEWIDTH = 0
OPTIONS = [gofixedvertline, ... ]
PARENTCTL3D = False
ROWCOUNT = 10
...
As a grid is created with 5 cols/rows by default, lazarus reads
properties as it find it in the lfm file (which are alphabetically
sorted I think) so when lazarus try to set fixedRows to 5 it show a
messagebox because the rule: FixedRows can't be >= RowCount.
so, how can I 'force' RowCount to appear before FixedRows in the lfm
file? or should I find another way using the component state?
About the scrollbars it's a gtk interface issue, you can make the
scrollbars to show but they won't hide, you can't even get the
scrollbar size :( ( or there is a way? )
by the way, does someone noticed that using clwindow color produces
black backgrounds?. checkout the color combobox in object inspector.
regards.
Jesus Reyes A.
_________________________________________________________
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx
More information about the Lazarus
mailing list