我如何在 firemonkey android 平台中创建清单?
How do i create checklist in firemonkey android platform?
Firemonkey Android 平台没有 checklist
控件,我想知道是否有其他选择?
FMXTListBox supports check boxes (if you're asking for a VCL TCheckListBox
alternative). Just set the ShowCheckboxes property to True to show them. To access the check box state of an item in code use the IsChecked属性,例如:
var
i: Integer;
begin
for i := 0 to ListBox1.Count-1 do
ListBox1.ListItems[i].IsChecked := True;
end;
Firemonkey Android 平台没有 checklist
控件,我想知道是否有其他选择?
FMXTListBox supports check boxes (if you're asking for a VCL TCheckListBox
alternative). Just set the ShowCheckboxes property to True to show them. To access the check box state of an item in code use the IsChecked属性,例如:
var
i: Integer;
begin
for i := 0 to ListBox1.Count-1 do
ListBox1.ListItems[i].IsChecked := True;
end;