clement Posted September 18, 2017 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
Sherzod Posted May 17, 2019 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
shawdown Posted May 21, 2019 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
JDDEV Posted May 23, 2019 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
artem_niko Posted February 9, 2022 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
Sherzod Posted February 9, 2022 Posted February 9, 2022 Hello, Can you make a simple testcase to check? Quote
artem_niko Posted February 9, 2022 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
Sherzod Posted February 9, 2022 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
artem_niko Posted February 9, 2022 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
Sherzod Posted February 9, 2022 Posted February 9, 2022 1 minute ago, Артем said: Do you have any project with UniScrollBox? Yes, \FMSoft\Framework\uniGUI\Demos\Desktop\ScrollBox Quote
Sherzod Posted February 9, 2022 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
artem_niko Posted February 9, 2022 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
bgxbd Posted November 14, 2022 Posted November 14, 2022 I also need to hide the vertical scroll bar , did you find a solution ? @artem_niko Quote
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.