Splitter control

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hello, are you considering adding a splitter control, just to help convert VWG applications to WiseJ?   It seems the plan is to require the use of split containers, but it would be great if you had a splitter control just to help with conversions, and the deprecated it later.  Just a thought.

Thanks
Andrew

  • You must to post comments
0
1

The splitter control was deprecated very early on in Winforms because it was built by simply docking a control (the splitter) and trying to deduct what was on the left and right. And it couldn’t mix will with other splitters. With Wisej is relatively easy to emulate the single splitter behavior by using the ResizableEdge property and set one of the resizable edges of the control docked to the left (or top). The other will automatically resize.

Implementing a splitter control that attached to the left (or top) and manage all the rest that comes with it, minimum location, drag & drop and pointer capturing, events is a lot of work. It’s easier to convert it to a simple panel just to have the spacer and use the ResizableEdges feature already built-in, or replace it with the SplitContainer.

See attached sample app.

HTH

Best,
Luca

  • redcard
    That makes sense, but just thought I’d ask, thanks.
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json