"Error Unable to rename variable in source. See messages." But does not appear nothing…
+ From: Luis R. Hilario B.
Hi, it's not a solution for your problem, but it might prevent strange results in the future.
+
+ In order to write some components (of the Boolean type) it is necessary
+ to make the following thing, e.g.:
+
+ CheckBox2.Checked := False; CheckBox2.Checked := True; +
+ CheckBox2.Checked := Boolean(RecordDataI[fnFACT_SIN_EX]);
It is better not to cast a boolean like this
CheckBox2.Checked := RecordDataI[fnFACT_SIN_EX] 0;has the same effect (assumed that RecordDataI contains integers), but now you are sure CheckBox2.Checked is a "true" boolean.
At least in Delphi casting something like Boolean(1) results to true in some expressions and to false in other
Marc
