Talimat: Bir combo box oluştur ve haftanın günlerini ekle.
Kod:
testCombo = MyForm.AddNewComboBox(MyForm, 'testCombo'); testCombo.Align = alTop; testCombo.Width = 150; testCombo.Margins.Top = 10; testCombo.Margins.Left = 50; testCombo.Margins.Right = 50; testCombo.AddItem('Monday', '01'); testCombo.AddItem('Tuesday', '02'); testCombo.AddItem('Wednesday', '03'); testCombo.AddItem('Thursday', '04'); testCombo.AddItem('Friday', '05'); testCombo.AddItem('Saturday', '06'); testCombo.AddItem('Sunday', '07');