problem about Captions[65]:= EnvirHumidyHiStr

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
bokaw
Posts: 15
Joined: Fri Mar 23, 2007 1:30 am

problem about Captions[65]:= EnvirHumidyHiStr

Post 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?
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Post Reply