|
DrawControl and DrawButton, DrawEdit, DrawMemo, DrawPanel Functions |
Top Previous Next |
|
These functions create bitmap having the size of the specified control, draw image of this control into this bitmap, return this bitmap. Unit CtrlImg. Syntax function DrawControl(ctrl: TControl): TBitmap; Also function DrawButton(ctrl: TButton): TBitmap; function DrawEdit(ctrl: TEdit): TBitmap; function DrawMemo(ctrl: TMemo): TBitmap; function DrawPanel(ctrl: TPanel): TBitmap; DrawControl has the functionality of all other functions of this group. TRVPrint use these functions for default printing of inserted controls, see OnPrintComponent event.
|