cristianotestai Posted March 7, 2012 Share Posted March 7, 2012 Hi, Is there any way to identify when the vertical bar is enabled and when it is disabled at runtime? (I use MainFormDispalyMode = mfPage). I need this to increase(when the vertical bar is disabled) and decrease (when the vertical bar is pressed) the size of a panel in my application. Thanks. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 7, 2012 Administrators Share Posted March 7, 2012 I'm not aware of any possible method to do this. Well, I recommend instead of relying on such details, if possible it is better to design an anchored layout which automatically resizes itself. Quote Link to comment Share on other sites More sharing options...
cristianotestai Posted March 7, 2012 Author Share Posted March 7, 2012 I'm not aware of any possible method to do this. Well, I recommend instead of relying on such details, if possible it is better to design an anchored layout which automatically resizes itself. Hi Farshad, I asked about this, because there is one bug with the horizontal bar(http://forums.unigui.com/index.php?/topic/1776-horizontal-scrollbar-issue/), which is always enabled when it is used Anchors. See the attached image, where the top panel uses Anchors, but the horizontal bar is always turned on unnecessarily. Regards, Cristiano Testai Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 14, 2012 Administrators Share Posted March 14, 2012 I also replied to this issue in another thread. As far as I investigated there is no way to avoid this in the web. Quote Link to comment Share on other sites More sharing options...
lema Posted March 14, 2012 Share Posted March 14, 2012 Great looking interface Cristiano. Congrats ! Can you give me a hint on what did you use for the left and right panels? Off topic , sorry. Quote Link to comment Share on other sites More sharing options...
cristianotestai Posted March 16, 2012 Author Share Posted March 16, 2012 Great looking interface Cristiano. Congrats ! Can you give me a hint on what did you use for the left and right panels? Off topic , sorry. Hi lema, thanks! Yes.. These panels i used in property color: $00FEFEFE and for borders i used client side scripting: function OnAfterrender(sender) { sender.body.applyStyles('border-radius:9px'); } Best Regards! Quote Link to comment Share on other sites More sharing options...
lema Posted March 17, 2012 Share Posted March 17, 2012 Hi lema, thanks! Yes.. These panels i used in property color: $00FEFEFE and for borders i used client side scripting: function OnAfterrender(sender) { sender.body.applyStyles('border-radius:9px'); } Best Regards! Great , thank you for the tip. 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.