I am working with a Listbox and I am trying to change the Font Size of the listbox "Itemdata.detail" proporty in runtime. I was able to change the "ItemData.Text" font size, but I need also to change the font size for the "ItemData.Detail"
{ With ListBoxItem do Begin StyledSettings:=[TStyledSetting.Family,TStyledSetting.Style,TStyledSetting.FontColor,TStyledSetting.Other]; Size.Height:=50; Font.Size:=12;
Size.PlatformDefault := False;
Text :=FormPrincipal.UniqueryGeral.Fields[1].AsString;
ItemData.Detail:= FormPrincipal.UniqueryGeral.Fields[0].AsString+' vezes '+'/'+' ACERTOS = '+FormatFloat('###.##',FormPrincipal.UniqueryGeral.Fields[2].asFloat)+'%'+' - ERROS= '+FormatFloat('###.##',(FormPrincipal.UniqueryGeral.Fields[3].AsFloat))+'%';
StyleLookup := 'listboxitembottomdetail';
Visible := True;
Parent := FormPrincipal.ListBox_EstatisticasPROF_2_Resultado;
Inc(conta_linha);
End;
}