Nevron Forum

How to change icon of NUIDocument?

https://www.nevron.com/Forum/Topic6704.aspx

By Oliver Münchow 1 - Wednesday, July 18, 2012

A NUIDocument has some Icon properties (CurrentIcon, CurrentSmallIcon, SmallIcon, DefaultIcon, DefaultSmallIcon), but nothing to show on a tab bar. For their (i think) the property ImageIndex has to be set to a proper index value. But where is the list to which this index refers?

I can't find any matching property within the NDocumentManager.
By Nevron Support - Wednesday, July 18, 2012

Hi Oliver,

Icon and SmallIcon are used when the document view is MdiStandard. Icon is shown when the document is in normal view and SmallIcon is shown when the document is maximized.
When the document view is MdiTabbed you need to set ImageIndex to a index of NDockManager.DocumentStyle.ImageList.