andyhill Posted January 5, 2023 Share Posted January 5, 2023 I have a PopUp with many elements and would like to draw the user's attention to a few items in the list via the Item's Font Color/Size/Style dynamically at runtime (logic varies so highlights vary) - please advise - Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 6, 2023 Share Posted January 6, 2023 15 hours ago, andyhill said: I have a PopUp with many elements and would like to draw the user's attention to a few items in the list via the Item's Font Color/Size/Style dynamically at runtime .customCls .x-menu-item-text { color: green; font-weight: bold; } procedure TMainForm.UniFormReady(Sender: TObject); begin JSInterface.JSCall('addCls', ['customCls'], UniPopupMenu1.Items[0].JSMenuItem); end; Quote Link to comment Share on other sites More sharing options...
andyhill Posted January 6, 2023 Author Share Posted January 6, 2023 Thank you Sherzod 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.