Frederick Posted December 3, 2019 Share Posted December 3, 2019 I have a TUniMemo control where I insert several lines of text. Even when the ScrollBars property is set to ssNone, the control insists on showing vertical scroll bars when the text lines are close to the bottom edge of the control. Why does the control not respect the setting and how do I disable the showing of the scroll bars? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1514) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 3, 2019 Share Posted December 3, 2019 1 hour ago, Frederick said: how do I disable the showing of the scroll bars? Try this for now: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniMemo1.JSInterface.JSAddListener('afterrender', 'function(){this.inputEl.setStyle("overflow", "hidden")}'); end; Quote Link to comment Share on other sites More sharing options...
Frederick Posted December 3, 2019 Author Share Posted December 3, 2019 Thanks. This works currently. 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.