VolkovVitalD Posted May 4, 2023 Share Posted May 4, 2023 Hi! I need to display different pictures in UniStringGrid cells. I tried in the UniStringGrid1DrawCell method to define a style through Attribs.Style.Css specifying the url of the image in this style, but so I need to create a lot of styles for each cell - this is not optimal. Is there a better solution? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 4, 2023 Share Posted May 4, 2023 Hello, 2 hours ago, VolkovVitalD said: Attribs.Style.Css You can also define a style directly: Attribs.Style.Style Or the value in the cell as html. Quote Link to comment Share on other sites More sharing options...
VolkovVitalD Posted May 5, 2023 Author Share Posted May 5, 2023 13 hours ago, Sherzod said: Hello, You can also define a style directly: Attribs.Style.Style Or the value in the cell as html. Thanks! Both options are suitable. 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.