Page 1 of 1

problem about Captions[65]:= EnvirHumidyHiStr

Posted: Tue May 22, 2007 6:55 am
by bokaw
I define a string array in my form class,such as Captions : array[0..65] of string ;and define some const string in my common unit, such as const EnvirHumidyHiStr='Enviroment Humidy';when i create form ,i set Captions:= EnvirHumidyHiStr, but program run to here, i found that Captions:= '',EnvirHumidyHiStr:='Enviroment Humidy' .why?

Posted: Tue May 22, 2007 11:24 am
by isiticov
I cannot advice anything without seeing your code. But I guess, the problem somewhere in your code and it changes the Captions array. Anyway, you can debug your code and check where the value of Captions changed.