erich.wanker Posted December 3, 2014 Share Posted December 3, 2014 Hello, after Update to 0.98.0.1116 the following lines not working: UniHTMLFrame1.HTML.Clear; UniHTMLFrame1.HTML.Append('<html><head><title>scoller</title>'); UniHTMLFrame1.HTML.Append('<style type="text/css"> DIV#' +uniscrollbox1.JSName+ '_id> DIV {overflow-x: hidden !important;}</style>'); UniHTMLFrame1.HTML.Append('<style type="text/css"> DIV#' +uniscrollbox2.JSName+ '_id> DIV {overflow-x: hidden !important;}</style>'); any ideas how to solve this? ThanX Erich Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 3, 2014 Administrators Share Posted December 3, 2014 What was your previous version? Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted December 3, 2014 Author Share Posted December 3, 2014 Hello Farshad, the previous version was "FMSoft_uniGUI_Plus_Pro_0.98.0.1109_Beta.exe" Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted December 3, 2014 Administrators Share Posted December 3, 2014 What is the purpose of above code? Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted December 4, 2014 Author Share Posted December 4, 2014 i want to hide the vertical scrollbar of UniScrollbox ... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 5, 2014 Share Posted December 5, 2014 Hi Erich,Maybe this can help you!? http://forums.unigui.com/index.php?/topic/4332-hide-vertical-scrollbar-in-tuniscrollbox/ Best regards. Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted December 5, 2014 Author Share Posted December 5, 2014 Hello DelphiDeveloper, ThanX for suggestions .. but your tip also didn´t work anymore ... It seems that uniScrollbox has a property less - since new update .. if i use UniSession.AddJS(uniscrollbox1.JSName + '.setBodyStyle("overflow-X:hidden !important");'); i got error: "undefined is not a function" Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted December 5, 2014 Author Share Posted December 5, 2014 i added in uni-xtheme-gray.css: .x-container { overflow-x:hidden !important; } works for me ;-) .. seems that no other control is involved for this setting Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 5, 2014 Share Posted December 5, 2014 Better, you can do like so: UniSession.AddJS(uniscrollbox1.JSName + '.el.setStyle("overflow-x", "hidden");'); Or: function afterrender(sender, eOpts) { sender.el.setStyle('overflow-x', 'hidden'); } .. Best regards. 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.