Create Split window

  1. 5 months ago

    Craig G

    May 14 Australia

    I want to create a window with a listbox on the left and a display area on the right with canvas, labels etc.
    In between I would like a divider which can be dragged left or right eg. to the right more of the list row would be revealed, to the left and the contents of the display area resize to the available space.
    Which Xojo controls would I use and how? Is there an example project for this?

  2. Dave S

    May 14 San Diego, California USA

    there are many 3rd party "spliiter" controls designed for just that purpose. I used one that I modified in my Tadpole SQL manager

  3. Sascha S

    May 14 Pre-Release Testers, Xojo Pro Germany/W'haven

    I think Dave is talking about Window Splitter by Einhugur

  4. Dave S

    May 14 San Diego, California USA
    Edited 5 months ago

    @SaschaSchneppmueller I think Dave is talking about Window Splitter by Einhugur

    That is one of many yes.
    there are many free alternatives that work just as well

  5. Jean-Yves P

    May 14 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    you really don't need a plugin for that !

  6. Dave S

    May 14 San Diego, California USA

    @Jean-YvesPochez you really don't need a plugin for that !

    A canvas, and a little math...... not really hard.... gets a bit more complex if you want to synch multiple horizontal and vertical splitters on the same screen..... but its not rocket science for sure.

  7. Jean-Yves P

    May 15 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    this one is free : http://files.tempel.org/RB/TTsMarsSplitterDemo.rbp.zip

  8. Oliver O

    May 15 Pre-Release Testers, Xojo Pro https://udemy.seminar.pro

    https://github.com/oleman108/imSplitter

  9. Tim P

    May 15 Pre-Release Testers feedback://46303,51561

    I like imSplitter, but results are far more fluid with the plugin version.

  10. Oliver O

    May 15 Pre-Release Testers, Xojo Pro https://udemy.seminar.pro

    @Tim P I like imSplitter, but results are far more fluid with the plugin version.

    Absolutely! I use the Einhugur splitter all the time. And Björn is a really cool guy. He is one of the long term stable guys. His plugins are very useful to me.

    Once in a while I use my own imSplitter when I don‘t want any plugin in a project, and I know, I can always replace it and swap in the plugin splitter.

  11. Tim J

    May 15 Pre-Release Testers, Xojo Pro Dehydrating in AZ

    I use Harry Hooie's SmartSplitter (anyone know what happened to Harry?) with the old-style cursors replaced by the System cursors. I love The Einhugur WindowSplitter, but the Linux tweaking for GTK-3 is mucking my schedule up and SmartSplitter works on all platforms since it's native Canvas-based.

    If any of you would like to take a look, here's the version that I use in Xojo:
    SmartSplitter Module

    Just drop it into you project and it will show up as a customer project control. I recommend a minimum thickness of 10. Sorry that I don't have documentation.

or Sign Up to reply!