?
Solved

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

Posted on 2006-05-31
3
Medium Priority
?
1,041 Views
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.
0
Comment
Question by:soconne
1 Comment
 
LVL 2

Accepted Solution

by:
pmdw earned 500 total points
ID: 16938067
Hi
Hope this helps

The easy way out is to use the JvSyncSplitter in the jedi libs see http://www.delphi-jedi.org/

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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

600 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