![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Components » View Thread |
Messages 1 to 4 of 4 total |
![]() |
Tue, Sep 13 2016 7:18 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Please feel free to extend and repost here.
Walter Attachments: TColorButton.zip |
Mon, Dec 26 2016 3:14 PM | Permanent Link |
Uli Becker | Hi Walter,
thanks for sharing this. I tried to enhance the component by adding FillNormalFontColor FillHotFontColor properties in order to set the Font.Color as well. I tried this code: procedure TColorButton.UpdateInterfaceState; begin inherited UpdateInterfaceState; if InterfaceState = HOT_STATE_NAME then begin Element.Background.Fill.Color := fFillHotColor; Element.Font.Color := fFillHotFontColor; end else if InterfaceState = NORMAL_STATE_NAME then ... end; But that doesn't have any effect. I guess "Element" is the root element of the interface. How can I change the font color? Thanks Uli |
Fri, Dec 30 2016 7:37 AM | Permanent Link |
Walter Matte Tactical Business Corporation | Uli:
Self.Font.Color Attached works but needs improvement. If you set Normal Color via Font property it does not update the fFontNormalColor - need to add the override of setFontColor. Walter Attachments: WebColorBtnFont.zip |
Fri, Dec 30 2016 8:37 AM | Permanent Link |
Uli Becker | > Attached works but needs improvement. If you set Normal Color via Font property it does not update the fFontNormalColor - need to add the override of setFontColor.
Quite easy ![]() Thanks Walter |
This web page was last updated on Saturday, June 3, 2023 at 10:17 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |