JVCL Help:TJvDockServer

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvDockBaseControl
TJvDockServer
run\JvDockControlForm.pas


Summary

JvDockServer objects, in conjunction with a JvDockStyle object manage the master docking site form. Allows docking to the sides, and to one central area in your form.

run\JvDockControlForm.pas


Pascal

 run\JvDockControlForm.pas
 TJvDockServer = class(TJvDockBaseControl);


Description

  1. JVCLInfo

JvDocking components enable you to write applications that support form docking. Form docking means allowing one form to attach itself to another form, in a flexible user-customizable way. Users can drag one form onto another form, and it will attach. This behavior is seen in many applications programs. You may want to open one of the JVCL sample Docking programs to see how all this works.
When a TJvDockServer component is put on a form, the form can now have one or more dock sites. You can then dock other forms that have a TJvDockClient component onto these dock sites at run-time. The DockServer defines where you can dock to on this form. You can configure a DockServer to allow docking to the top, bottom, left and right of a form, and also, you can define one custom docking panel in the center of your main form (typically used for a document forms).
Generally, the TJvDockServer component is put on the main form but it also can be put on other forms. However, a form can not contain both a TJvDockServer and a TJvDockClient component, because a form can not play two roles at the same time.
It is very important to attach a DockStyle object to your DockServer. DockStyle objects contain important handling code. A DockServer is minimally functional without a DockStyle being assigned, but you probably should attach a JvDockStyle as the first thing you do after dropping a JvDockServer onto your form.

run\JvDockControlForm.pas


About

Navigation

run\JvDockControlForm.pas



Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page