Completely disabling horizontal split

SyntaxEditor for Windows Forms Forum

Posted 3 years ago by YEVGENIY A GRIGORYEV
Version: 20.1.0403

Some of our users have noticed that despite .HasHorizontalSplit set to false and .HorizontalSplitPercentage being set to 0, the grip for the split panel sizing in the upper-right corner is usable and can be dragged down to reveal the split panel which will duplicate all script and edits. Some are confused by this. Is there a way to completely disable the split functionality? Thank you.

Comments (2)

Answer - Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA


HasHorizontalSplit indicates if there currently is a split or not.  The SyntaxEditor property you want to set to false is CanSplitHorizontally, which should hide the split button UI.

Actipro Software Support

Posted 3 years ago by YEVGENIY A GRIGORYEV

Thank you, this worked.

The latest build of this product (v24.1.0) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.