C++ Builder - Creating a cross splitter to split viewport into 4 views

Posted on 2006-05-31
Last Modified: 2013-11-17
How can I split my form into 4 different views using a splitter control?  I want to have a 4 way cross split where its only resizeable horizontally and vertically but affects all 4 views.
Question by:soconne
    1 Comment
    LVL 2

    Accepted Solution

    Hope this helps

    The easy way out is to use the JvSyncSplitter in the jedi libs see

    Set up two base panels on your form call them BottomBasePanel and  TopBasePanel

    BottomBasePanel with the alignment set to alBottom
    TopBasePanel with the alignment set to alClient

    Use and ordinary splitter between them call it Splitter1
    Splitter1 with the alignment set to alBottom

    Then set 4 panels on the form 2 panels on  BottomBasePanel and  2 panels TopBasePanel.

    Add and 2 JvSyncSplitter components one to  BottomBasePanel and  1 to  TopBasePanel.
    Set the 4 top panels as follows.

    TopLeftPanel and BottomLeftPanel  with the alignment set to alLeft
    TopLeftPanel and BottomLeftPanel  with the alignment set to alClient

    Set the JvSyncSplitter parters to each other.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now