Delphi control stop function

xiaoxiao2021-03-06  110

Many controls with Delphi have docking functions, and the operation is very simple, and it is not necessary to use third-party controls.

Basically, the Dock operation is required at least two components. One person is attached to the Dock Site component, and the other person is attached to the component of the Dock Site. The visual components provided by Delphi have only inherited the VCL components from TwinControl with Dock Site. Function, but as long as it is inherited from TControl's VCL components with features that are attached to the Dock Site component. If you want a component with Docksite (stop point), just set the property DOCSITE to true, if you want to let A component is parked on the Dock site, as long as the DragDind of the component is set (Dkdock, the property Dragmode is set to DMAUTOMATIC.

转载请注明原文地址:https://www.9cbs.com/read-98791.html

New Post(0)