How to change icon of NUIDocument?


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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.

Best Regards,
Nevron Support Team


Oliver Münchow
Oliver Münchow
Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)
Group: Forum Members
Posts: 10, Visits: 2
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search