Volk65 Posted December 1, 2017 Share Posted December 1, 2017 Hi all! Special thanks to the developers and those who answer the questions for your work and your patience. Tell me how to create a button (not sure what will appear, so give reference): http://prntscr.com/hhri8r - Monocolor button - Left aligned image - Client aligned label (text) Now at runtime, I create the panel and put on it the image and the label. But there are problems. For example, ugly displays button lights at the entrance and exit of the mouse cursor. Tell me how to do it correctly. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 1, 2017 Share Posted December 1, 2017 Hi, Sorry, I think that in the screenshot it is not very clear what do you want ? Quote Link to comment Share on other sites More sharing options...
Volk65 Posted December 1, 2017 Author Share Posted December 1, 2017 I want: - Monocolor button - Left aligned image - Client aligned label (text) I'm sorry, maybe the question should ask like this: is it Possible to create such button Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 2, 2017 Share Posted December 2, 2017 Hi, Ok I will try to analyze it Best regards, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 2, 2017 Share Posted December 2, 2017 Hi, Maybe do you want that first? For example: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniButton1.JSInterface do begin JSConfig('overCls', ['']); JSConfig('focusCls', ['']); //JSConfig('pressedCls', ['']); end; end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.