Talimat: Giriş yap butonunu oluştur ve özelliklerini ayarla.
Kod:
loginButton = LoginForm.AddNewProButton(loginPanel, 'loginButton', 'Login'); loginButton.Align = alCenter; loginButton.Height = 40; loginButton.Width = loginPanel.Width * 40 / 100; loginButton.Margins.Top = 10; loginButton.Margins.Bottom = 200; loginButton.Margins.Left = 20; loginButton.Margins.Right = 20; loginButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#DEF9C4'); loginButton.clProSettings.IsTransparent = True; loginButton.clProSettings.IsFill = True; loginButton.clProSettings.IsRound = True; loginButton.clProSettings.RoundHeight = 10; loginButton.clProSettings.RoundWidth = 10; loginButton.clProSettings.BorderColor = clAlphaColor.clHexToColor('#B43F3F'); LoginForm.AddNewEvent(loginButton, tbeOnClick, 'btnLoginOnClick'); loginButton.SetclProSettings(loginButton.clProSettings);