Jump to content

Identify Vertical Bar Enabled/Disabled


cristianotestai
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...