Talimat: Bir form oluştur ve formun içine bir panel ekle. Panelli bir formda buton ve metin kutuları oluştur.
Kod:
AdminForm = TclForm.Create(Self);
AdminIlanKayitPnl = AdminForm.AddNewProPanel(AdminForm, 'AdminIlanKayitPnl');
AdminIlanKayitPnl.Align = alCenter;
AdminIlanKayitPnl.Margins.Bottom = 20;
AdminIlanKayitPnl.Height = 900;
AdminIlanKayitPnl.Width = 400;
AdminIlanKayitPnl.clProSettings.IsTransparent = True;
AdminIlanKayitPnl.SetclProSettings(AdminIlanKayitPnl.clProSettings);
AdminVerticalScrollBox = AdminForm.AddNewVertScrollBox(AdminIlanKayitPnl, 'AdminVerticalScrollBox');
AdminVerticalScrollBox.Align = alClient;
AdminVerticalScrollBox.Margins.Top = 20;
AdminVerticalScrollBox.Margins.Bottom = 10;
AdminVerticalScrollBox.Margins.Right = 10;
AdminVerticalScrollBox.Margins.Left = 10;
AdminIlanBtn = AdminForm.AddNewProButton(AdminVerticalScrollBox, 'AdminIlanBtn', 'İlan Ver');
AdminIlanBtn.Align = alTop;
AdminIlanBtn.Height = 50;
AdminIlanBtn.Width = 70;
AdminIlanBtn.Margins.Top = 50;
AdminIlanBtn.Margins.Left = 100;
AdminIlanBtn.Margins.Right = 100;
AdminIlanBtn.Margins.Bottom = 120;