1 (edited by domebil 2020-08-30 13:57:03)

Topic: possible bug V 6.4 beta

the checkbox object does not keep the settings when I close the form:



procedure Form2_CheckBox4_OnClick (Sender: TObject);
begin
   if form2.checkbox4.checked = true then form3.Button1.Enabled := false;

end;



now to keep this formatting you need to put the code in a show event as well:



procedure form3_OnShow (Sender: TObject; Action: string);
begin
   if form2.checkbox4.checked = true then form3.Button1.Enabled := false;

end;

otherwise it doesn't work

Domebil

Re: possible bug V 6.4 beta

the bug should be in the checkbox

Domebil