Jump to content

Identify Vertical Bar Enabled/Disabled


cristianotestai

Recommended Posts

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.

Link to comment
Share on other sites

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

post-17-0-56666400-1331153281_thumb.jpg

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...