14-05-2020, Saat: 01:54
(Son Düzenleme: 14-05-2020, Saat: 12:01, Düzenleyen: SimaWB.
Sebep: başlık düzeltme
)
Merhaba
Aranıza yeni katıldım ve Delphide yeniyim.
Delphi 10.3 ile VCL de yazdığım kod çalışıyor.
Ancak aynı kodu Multi-Device app olarak yazınca E2003 Undeclared identifier: 'Checked' hatası ile karşılaşıyorum.
Hatam nerede olabillir acaba?
uses kısmı ise şöyle;
Aranıza yeni katıldım ve Delphide yeniyim.
Delphi 10.3 ile VCL de yazdığım kod çalışıyor.
Ancak aynı kodu Multi-Device app olarak yazınca E2003 Undeclared identifier: 'Checked' hatası ile karşılaşıyorum.
Hatam nerede olabillir acaba?
procedure TForm1.Button1Click(Sender: TObject);
begin
toplam := 0;
if CheckBox1.Checked = true then
a := 8
else
a := 0;
if CheckBox2.Checked = true then
b := 4
else
b := 0;
toplam := a + b ;
ShowMessage('toplam:' + toplam.ToString );
end;
uses kısmı ise şöyle;
uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FMX.StdCtrls, FMX.Types, FMX.Controls, FMX.Controls.Presentation;


