How to change icon of NUIDocument?


https://www.nevron.com/Forum/Topic6704.aspx
Print Topic | Close Window

By Oliver Münchow - 12 Years Ago
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 - 12 Years Ago
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.