Wednesday, May 13, 2009

Fundamentals

Dragging GUI elements is a widely used technique, available on most platforms. Delphi has rudimentary support for both drag-drop (copy contents) and drag-dock (move forms or components), but the support for docking is a mess :-(

Lazarus already has slightly improved support for docking, but still lacks some features, and the support is platform dependent. While the platform specific support will be improved over time, by the famous Lazarus team, I feel a need to discuss the general implementation of dragging (DragManager etc.), and the available or missing features.

For some documentation on dragging visit the Lazarus wiki, and for a live example run the Lazarus\examples\dockmanager\easydocking project. More example projects are in preparation.

No comments:

Post a Comment