Jump to content

RunTime Control Color


Recommended Posts

Hi everybody....


I'm trying to change a UniRadioButton's color in runtime, but I got something like attached image.


I am assigning it with:


UniRadioButton.Color := $E7D8CC;


I have tested with ParentColor := False and True but nothing.


I'm using 0.95 version, Delphi 2006. Previous version color was ok.



Additionally, I have a UniDBNavigator disabled, then in runtime I try to Enable it, but it doesn't change.


Some ideas? please, thanks.


Link to comment
Share on other sites

1. UniRadioButton1.Font.Color := $E7D8CC


2. I think there is a bug when using the "UniDBNavigator1.Enabled: = ..." 

Use it: 
UniSession.AddJS(UniDBNavigator1.JSName + '.setDisabled(true)');


UniSession.AddJS(UniDBNavigator1.JSName + '.setDisabled(false)');
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...