[h]Alternative Xojo Splitter solution[/h]
A bit late (7 years) in replying to this thread, I’m afraid, but hopefully it may still be relevant for some forum members . . .
I had a great (and speedy) reply from Paul Lefebvre of Xojo on this topic, which is covered in the last ten minutes of his online video “Developing a Text Editor, part 2” (starts at around 49’:10" into the video). Thanks, Paul!
Prior to having received Paul’s reply, I did manage to design an extremely simple yet effective alternative. The alternative shown in my “Slider Test” screenshots doesn’t comply with Microsoft’s de facto standard of being a splitter physically located between the two sub-windows (“panes”) to be split, but there’s no reason why it shouldn’t be placed there.
The solution is based on a vertical Slider control being used to adjust the relative panes’ Tops and Heights (or a horizontal Slider to adjust the Lefts and Widths). This solution may not be ideal for the purists, but it has the great advantages of a). of not suffering from flicker and b). the mouse may be used on the Slider control itself, or the Up and Down keys on the keyboard may be used where precision is required, once the control has been selected by either the mouse or by tabbing through the controls. Also, IMHO, it looks, well, pretty
The default slider position (first shot below) has its Value set to 50, with MaximumValue set to 100 - this ensures smoother travel of the panes than if lower numbers were to be used. For even greater precision using the keys, these values can be increased further (e.g. 500 and 1,000 respectively. At the half-way setting (default), you will see that both the upper and lower panes occupy an equal amount of the right-hand-side window real-estate.
The second shot shows the positioning of the Slider in order for the bottom pane to occupy all of the real-estate; positioning the Slider at the other end of its range would result in the top pane occupying it all.
The final shot shows the positioning of the Slider at a randomly chosen position.
I’d be happy to share the relevant (and very short) source code if requested.