SetMargins |
This method is used to set the top,left,right and bottom-margins. All margins are in pixels.
Prototype:
SetMargins(LONG nLeftMargin, LONG nTopMargin, <LONG nRightMargin>, <LONG nBottomMargin>)
Arguments:
nLeftMargin Left marign
nTopMargin Top margin
nRightMargin Right margin
nBottomMargin Spacing between headers
Example:
TaskPanel5.SetMargins(0,0,0,0) !No margins