zanona Posted August 9, 2017 Share Posted August 9, 2017 How to change TUniedit color border when clicking button? Thanks Zanona Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 9, 2017 Share Posted August 9, 2017 Hi, There are many ways to achieve this, for example like this: 1. uses ... uniGUIJSUtils; 2. procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniEdit1.JSInterface do JSCall('inputEl.dom.style.setProperty', ['border-color', uniColor2Web(clGreen)]); end; Best regards, 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.