mos Posted January 30, 2018 Share Posted January 30, 2018 At the moment I am putting a scrollbox inside a TSimplePanel and turning the Border property on. Is it possible to enable a border similar to the border on a TSimplePanel so I don't have to use a TSimplePanel? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 30, 2018 Share Posted January 30, 2018 Hi, Sorry, can you clarify your question ?! Quote Link to comment Share on other sites More sharing options...
mos Posted January 30, 2018 Author Share Posted January 30, 2018 Hi Delphi Developer, If you add an empty scrollbox to a form and then run your UniGui application you can't actually see any sort of outline of the scrollbox ie. it's just an empty space. What I would like is some sort of border around the scrollbox so the user knows there something there e.g. similiar to an empty listbox which has a border around it. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 30, 2018 Share Posted January 30, 2018 Ok, one possible solution: UniScrollBox -> function afterrender(sender, eOpts) { var me=sender.el; me.setStyle('border-color', 'green'); me.setStyle('border-width', '1px'); me.setStyle('border-style', 'solid'); } 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.