clement Posted September 18, 2017 Share Posted September 18, 2017 Hi, The Horizontal Bar is always active, even if not necessary. Any solution for hiding the horizontal bar in the latest version? To reproduce the problem: 1) Drop one uniscrollbox in one form and set 'Align' to alClient. 2) Drop one unipanel into the scrollbox and set its 'Align' to alTop 3) Run the application. http://forums.unigui.com/index.php?/topic/168-more-questions-and-improvements/ Thank You. Quote Link to comment Share on other sites More sharing options...
shawdown Posted May 17, 2019 Share Posted May 17, 2019 I really have a problem. Any suggestions? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 17, 2019 Share Posted May 17, 2019 3 hours ago, shawdown said: I really have a problem. Any suggestions? Hi, Sorry, can you please explain in more details? Please make a simple testcase if possible. Quote Link to comment Share on other sites More sharing options...
shawdown Posted May 21, 2019 Share Posted May 21, 2019 Sorry for the delay because I was traveling. The problem is the horizontal scroll bar. The following is an example. Scroll.zip Quote Link to comment Share on other sites More sharing options...
shawdown Posted May 22, 2019 Share Posted May 22, 2019 Any suggestion? Quote Link to comment Share on other sites More sharing options...
JDDEV Posted May 23, 2019 Share Posted May 23, 2019 Hi, here is my suggestion: myScrollBox.ClientEvents.ExtEvents.Values['afterrender']:='function afterrender(sender, eOpts) {sender.getEl().dom.style["overflow-x"]="hidden";;}'; Or MyScrollBox -> ClientEvets -> ExtEvents -> function afterrender: function afterrender(sender, eOpts) { sender.getEl().setStyle('overflow-x', 'hidden') } 1 Quote Link to comment Share on other sites More sharing options...
shawdown Posted May 24, 2019 Share Posted May 24, 2019 worked perfectly. Thank you very much. Quote Link to comment Share on other sites More sharing options...
artem_niko Posted February 9, 2022 Share Posted February 9, 2022 On 5/23/2019 at 4:52 PM, JDDEV said: Hi, here is my suggestion: myScrollBox.ClientEvents.ExtEvents.Values['afterrender']:='function afterrender(sender, eOpts) {sender.getEl().dom.style["overflow-x"]="hidden";;}'; Or MyScrollBox -> ClientEvets -> ExtEvents -> function afterrender: function afterrender(sender, eOpts) { sender.getEl().setStyle('overflow-x', 'hidden') } Hello! But I need to hide, on the contrary, the vertical scrollbar. To do this, I added this: sender.getEl().setStyle('overflow-y', 'hidden') However, in this case, scrolling (scrolling) in UniScrollBox stops working in principle. But I need scrolling to work (with the mouse wheel), but also not to see the vertical scroll bar. How can this be done, what do I need? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 9, 2022 Share Posted February 9, 2022 Hello, Can you make a simple testcase to check? Quote Link to comment Share on other sites More sharing options...
artem_niko Posted February 9, 2022 Share Posted February 9, 2022 1 minute ago, Sherzod said: Hello, Can you make a simple testcase to check? Can't... Commercial project in out company. You can try this code in any project, because this is standart UniScroolBox. For Horizontal bar it's working. And for Vertical bar too. But, after this not working scrolling in UniScrollBox... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 9, 2022 Share Posted February 9, 2022 1 minute ago, Артем said: You can try this code in any project, because this is standart UniScroolBox. Well, here you could help us with a simple test app... Quote Link to comment Share on other sites More sharing options...
artem_niko Posted February 9, 2022 Share Posted February 9, 2022 1 minute ago, Sherzod said: Well, here you could help us with a simple test app... Do you have any project with UniScrollBox? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 9, 2022 Share Posted February 9, 2022 1 minute ago, Артем said: Do you have any project with UniScrollBox? Yes, \FMSoft\Framework\uniGUI\Demos\Desktop\ScrollBox Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 9, 2022 Share Posted February 9, 2022 32 minutes ago, Артем said: But I need scrolling to work (with the mouse wheel), but also not to see the vertical scroll bar. I will check. Quote Link to comment Share on other sites More sharing options...
artem_niko Posted February 9, 2022 Share Posted February 9, 2022 27 minutes ago, Sherzod said: Yes, \FMSoft\Framework\uniGUI\Demos\Desktop\ScrollBox No, this is not what I need. It just scroll works. And I need the scrolling to work, but the vertical bar is not visible. Quote Link to comment Share on other sites More sharing options...
bgxbd Posted November 14, 2022 Share Posted November 14, 2022 I also need to hide the vertical scroll bar , did you find a solution ? @artem_niko 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.