本文整理自网络,侵删。
procedure TForm1.ListBoxItemApplyStyleLookup(Sender: TObject);
var o: TFMXObject;
begin
o:=(Sender as TListBoxItem).FindStyleResource('text');
i f o is TText then(Sender as TListBoxItem).Height :=(o as TText).Height;
end;
相关阅读 >>
Delphi中组件label、edit、tag、memo、richedit
idtcpclient和idtcpclient 主要属性和方法
Delphi xe更改ttrayicon系统任务栏图标(无模糊)
更多相关阅读请进入《Delphi》频道 >>