Theming: theme change notification

Missing or incomplete OpenText Gupta product features? Discuss it here!
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3388
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Theming: theme change notification

Post by Dave Rabelink » 17 Sep 2014, 10:43

I would like to see a new SAM message, for instance :

SAM_ThemeChanged

when the TD theme was changed.

When the GUI is changed to another theme, we could need to recolor/repopulate/repaint objects accordingly.
For instance, icons or bitmaps placed in the GUI could look out of place in a newly set theme.
Or maybe custom drawing should adapt other colors to fit in the new theme.

Having such a notification automatically on every top level window we are able to call custom functions to change all those objects to more appropriate colors.

(the requirement to get the base theme colors can be used to change the current colors of objects to use the colors of the newly set theme)
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Enhancement suggestions”

Who is online

Users browsing this forum: [Ccbot] and 0 guests