Kod: Tümünü seç
procedure TformFis.FormActivate(Sender: TObject);
var
i:integer;
begin
satirsayisi:=formMenu.CheckListBox1.Count-1;
for i:=0 to satirsayisi do
begin
if formMenu.CheckListBox1.Checked[i]=true then
begin
Lab:=TLabel.Create(formFis);
Lab.Parent:=formFis.GroupBox1;
Lab.Caption:=formMenu.CheckListBox1.Items[i];
Lab.Left:=10;
Lab.Top:=24;
end;
Lab.Top:=Lab.Top+24;
end;
end;
Debugger Exception Notification
Project Project1.exe raised exception class EAccessVioIation with message 'Access violation at address 0045862F in module 'Project1.exe1'. Read of address 00000044'. Process stopped. Use Step or Run to continue.