例如
Font.Style = StringToSet('[fsBold, fsUnderline]');
当然,那里需要有一些typeinfo的东西,但你明白了.我正在使用Delphi 2007.
delphi string set
delphi ×1
set ×1
string ×1