Profile Picture

How to change icon of NUIDocument?

Posted By Oliver Münchow 12 Years Ago
Author
Message
Oliver Münchow
Posted 12 Years Ago
View Quick Profile
Junior Member

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
Last Active: 10 Years Ago
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.

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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





Similar Topics


Reading This Topic