EControl Form Designer Pro
TPasteInfo.Init Method

Initialization of TPasteInfo object.

procedure Init(SelCount: Integer; InitParent: TWinControl; BufType: TBufferizedType; Offset: Integer);

User must initialize object TPasteInfo at point of copying/cutting components in buffer with correct parameters. 


SelCount is number of selected (and correspondingly copied or cut into the buffer) components. 

InitParent is a pointer to WinControl those components are taken from. 

BufType determines whether components are cut or copied. 

Offset is a number of pixels fro initial offset (it may be grid step). 

Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!