Hello All
Thanks to those kind folks who mailed me recently with ideas for my problem
with reading\writing to INI files for stuff like font size, font name etc. I
have most of this working now but one thing puzzles me. Using Delphi 1.0
nder
Windows '95.
If the color definition in the INI file is a defined constant like clAqua, so
I
would have a line in Veejo.INI like...
[LabelFont]
LabelFontColor=clAqua
...then a line like:
Label1.font.color := VeejoIni.ReadInteger('LabelFont', 'LabelFontColor',
clBlack);
in my code for FormActivate does not read it, but uses the default, in the
above case, clBlack. If the value in the INI file for LabelFontColor is
actually
numerical like 8388608, then it does read it just fine and changes the
label.font.color to whatever the number represents. Why???
I'd appreciate replies to the address below [for speed!] as well as here if
t
all possible.
Thanks
Tony
--- GEcho/32 1.20/Pro
---------------
* Origin: Tony's Point of View (2:250/102.2)
|