Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 845

Change colors of dropdown (nested) datawindows

$
0
0

Hello,

 

I'm trying to give my users the ability to change the colors of various elements of the UI for my PB applications.

 

I already learned (sigh) that there's no way to dynamically change menu colors such as MenuBackColor, BitmapBackColor and ToolbarBackColor.

 

Now I'm trying to dynamically change the colors of dropdowns, but this does not run, too.

Here's my code:

 

DataWindowChild     ldwc_test

GetChild('myfield', ldwc_test)

ldwc_test.Modify('DataWindow.Color=16509405')

ldwc_test.Modify('DataWindow.Detail.Color=16509405')

ldwc_test.Modify('DataWindow.Header.Color=536870912')

 

Am I missing something?

 

Thank you,

Luca


Viewing all articles
Browse latest Browse all 845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>