- This topic has 11 replies, 2 voices, and was last updated 7 years, 9 months ago by Support.
-
AuthorPosts
-
November 25, 2016 at 2:16 pm #37181HeDiBoParticipant
In this project it shows there's no way to view a disabled state of a Developer Express TcxButton:
[attachment=8009:acDevExButton.zip]
This is the effect of running this project (both buttons are disabled):
[attachment=8010:acDevExButton.jpg]
November 29, 2016 at 7:39 pm #55800SupportKeymasterHello!
Try new release, please, some changes were added there.
December 3, 2016 at 4:23 pm #55831HeDiBoParticipant'Support' wrote:Hello!
Try new release, please, some changes were added there.
Hi Serge,
I already sent you a private mail, but that got no response. I do not get any notification by email if there is a response to my item. So, this response of you has not been noticed by me, simply because I did not get an email notification.
Can you please look into this, it makes this forum quite useless for me.
I re-checked my settings and as far as I can see, I should be receiving notifications by email.
Regards ;-}
Dick
December 3, 2016 at 4:40 pm #55832HeDiBoParticipant'Support' wrote:Hello!
Try new release, please, some changes were added there.
It still fails to show disabled statel!!
This is the start of my acLFPainter.pas:
Code://{$DEFINE VER16_1_4} // cxGrid version 16.1.4 and newer
//{$DEFINE VER14_1_2}
//{$DEFINE VER13_2_2}
//{$DEFINE VER12_2_3}
{$DEFINE VER12_1_6}
//{$DEFINE VER26}
{$DEFINE VER23}December 8, 2016 at 9:25 am #55842SupportKeymasterHello!
Your version of the DevEx is 12.1.6?
December 9, 2016 at 2:36 pm #55879HeDiBoParticipant'Support' wrote:Hello!
Your version of the DevEx is 12.1.6?
I think it is 11.2.9 The setting with Ver12_1_6 is the only one that works.
Again: I do not receive notifications by e-mail if you respond to an issue. PLEASE look into this.
December 13, 2016 at 8:54 pm #55920SupportKeymasterNotifications must work now.
December 14, 2016 at 11:46 am #55925HeDiBoParticipant'Support' wrote:Notifications must work now.
Thank you. They do!!
December 14, 2016 at 4:05 pm #55934SupportKeymastercxButton is alphablended if disabled, but text is not changed, because old DevEx packages doesn't allow to change a color of text in disabled button.
December 15, 2016 at 10:31 am #55938HeDiBoParticipant'Support' wrote:cxButton is alphablended if disabled, but text is not changed, because old DevEx packages doesn't allow to change a color of text in disabled button.
Thanks, I think it never worked.
Again, I did not receive notification of your answer. It's not in my spam box either. It's just not sent!
February 7, 2017 at 2:09 pm #56145HeDiBoParticipant'Support' wrote:cxButton is alphablended if disabled, but text is not changed, because old DevEx packages doesn't allow to change a color of text in disabled button.
I'm not sure I agree with you. The TcxButton has an array of colors (property Colors) of which DisabledText is one. So, there is a way, apparently, to display disabled text with a different color.
February 11, 2017 at 10:52 am #56157SupportKeymasterFor a skinning of the DevExpress controls the LookAndFeel painters used, this is a special technology implemented by DevExpress for skinning of their controls.
For drawing of buttons the DrawButton procedure used:
Code:procedure DrawButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string; AState: TcxButtonState;
ADrawBorder: Boolean = True; AColor: TColor = clDefault; ATextColor: TColor = clDefault;
AWordWrap: Boolean = False; AIsToolButton: Boolean = FalseYou can find it in the acLFPainter.pas
Text is drawn there, but DevEx engine draws text later and we can't change a color there.
And we haven't access to the button's colors palette or local TcxButtonPainter, because cxLookAndFeelPainter used there we can override some procedures only.
-
AuthorPosts
- You must be logged in to reply to this topic.