delphi xe listbox 行高根据内容高度进行调速
2022-10-11 16:25:56 作者:admin
本文整理自网络,侵删。
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;
猜你喜欢
联络方式:
400-123-789
邮箱:xiachao@163.com
Q Q:12345678
微信公众号
微信二维码