Different Font for Folder

Using a FNC ListView component in the TMSFNCCloudStorageServices Demo, is it possible to use a different font style for Folder items than for File items?

Hi,

You can use the TextColor property to change the font color for folder items.
Unfortunately there's currently no built-in functionality available to change the font style per item.

Example:

  TMSFNCListBox1.BeginUpdate;
  TMSFNCListBox1.Items.Clear;
  for I := 0 to AItems.Count - 1 do
  begin
    ci := AItems.Items[I];
     lit := TMSFNCListBox1.AddItem(AItems.Items[I].FileName);
     if ci.ItemType = ciFolder then
       lit.TextColor := gcRed;
     lit.DataObject := ci;
  end;
  TMSFNCListBox1.EndUpdate;

Thanks Bart, that's useful anyway.