In the User>Preferences>Look and Feel settings there is now an entry for "Apply Dark Themed UI". When that is enabled in our Forms based applications you can no longer see the text in the grid view unless you select it. The grid view is using default forms white for background & black text, I'm assuming the Dark UI is just changing windows black text to white (which doesn't show on a white background.
Is there a way to detect if the Dark UI theme is active?
Mike Robertson said:Is there a way to detect if the Dark UI theme is active?
I can't answer your question, but I found this note in the MicroStationAPI help, under topic GettingStartedMdl.h...
Some color schemes have been introduced that mimic the Office 2007 Silver, Blue and Black (Dark Gray) themes. This can be set via "Workspace menu > Preferences > Look and Feel". More color themes will be added and we will work on applying those themes across MDL, WinForms and WPF windows and controls.
Perhaps Bentley Systems are working on the themes API. Can Robert Hook confirm that?
Regards, Jon Summers LA Solutions
Hi Mike Robertson and Jon Summers
I have drafted some of the information below in hope it helps answer this and a couple other related UI design questions/considerations.
See Topic: GUI (UI/UX) - MicroStation Programming - Wiki
HTH,Bob
MicroStation Application Dark Theme UI Design Considerations
Sub QuickTest() DisplayCExpression "userPrefsP->flags.useDarkTheme" End Sub Function DisplayCExpression(expression As String) As Variant Dim result result = GetCExpressionValue(expression) Debug.Print expression & " = " & result DisplayCExpression = result End Function