KCL Design System - TMqyClipboard

MQY Studio

Version 1.00    

 

  TMqyClipboard is a class deprived from TClipboard which extend the function of Put/Get multiple components to/from the clipboard. In uint MqyClipbrdUtils, we declare a function: MqyClipboard: TMqyClipboard. You can use this function directly as the origin Delphi's Clipboard function.

Unit

MqyClipbrdUtils

Hierarchy

TObject - TPersistent - TClipboard - TMqyClipboard

Methods

  Paste components from clipboard. The components will be insert to Owner with Parent. If a TControl is pasted, and there is another control in Parent that with the same Top and Left with this control, then, the pasted control's Top and Left will be changed a little with LeftOffset and TopOffset. The function returns that last component pasted from the clipboard.
  Copy AComponents(may be multiple) to clipboard.


Demos

DfmBuilder

MQY Studio 2002.12