Message 1 of 3
Unreadable (black color) StatusBarText within Inventor Dark UI Theme (?API defect?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I prefer Dark UI theme for all desktop applications including Inventor.
I've just payed attention that StatusBarText generated with my iLogic Rule is unreadable (Black foreground on Dark Gray background).
Taking to a count that color used for all other text showing in StatusBar within Dark UI (including messages of non-modal ProgressBar generated with the same rule) is White ... I'd rather say the subject is the Inventor API defect.
Dim oInv As Inventor.Application = ThisApplication
Dim oThmMgr As ThemeManager = oInv.ThemeManager
Dim oIPT as PartDocument = oInv.ActiveDocument
Dim oPCD As ComponentDefinition = oIPT.ComponentDefinition
If oInv.LanguageCode="en-US" AndAlso oThmMgr.ActiveTheme.Name <> "Dark Theme" Then oThmMgr.Themes(1).Activate ' 1=Dark Theme
Dim oPrBr As Inventor.ProgressBar = oInv.CreateProgressBar(True, 3, vbNullString)
For each oWPl in oPCD.WorkPlanes
oPrBr.Message = "ProgressBarText - " & oWPl.Name
oPrBr.UpdateProgress
Threading.Thread.Sleep(3333)
Next
oPrBr.Close
For each oWPl in oPCD.WorkPlanes
oInv.StatusBarText = "StatusBarText - " & oWPl.Name
Threading.Thread.Sleep(3333)
Next
This issue was reproduced in Inventor 2023.1
... I hope somebody from Inventor dev-team will read this thread and do what necessary to fix this.
Please vote for Inventor-Idea Text Search within Option Names