KingOrmon Posted August 13 Share Posted August 13 Hi, Is it possible to enable TUniToolButton.Href and Hreftarget properties ? Regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 13 Share Posted August 13 19 minutes ago, KingOrmon said: Is it possible to enable TUniToolButton.Href and Hreftarget properties ? Hello, Why do you need this, can you clarify? Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted August 13 Author Share Posted August 13 I need to convert button in anchor, because I will proccessing this html in other app Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 14 Share Posted August 14 5 hours ago, KingOrmon said: I need to convert button in anchor, because I will proccessing this html in other app Maybe you want something like this? procedure TMainForm.UniFormReady(Sender: TObject); begin JSInterface.JSCode(UniPanel1.ToolButtons[0].JSName + '.getEl().dom.setAttribute("href", "#top");'); end; Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted August 14 Author Share Posted August 14 Works perfect, thank you 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.