<< Click to Display Table of Contents >> SetPadding SEToolBar |
![]() ![]() ![]() |
Purpose
The padding values are used to create a blank area between the edge of the button and the button's image and/or text.
The horizontal padding value is applied to both the right and left of the button, and the vertical padding value is applied to both the top and bottom of the button.
Prototype
METHOD SetPadding(nHorizontal, nVertical, symTB) CLASS SEToolBar
Arguments
[<nHorizontal>] |
The horizontal padding value. If not specified, the actual value remains unchanged. |
[<nVertical>] |
The vertical padding value. If not specified, the actual value remains unchanged. |
[<symTB>] |
The symbolic name of the toolbar. Default is #MainToolBar. |
RETURN
Returns a DWORD value that contains the padding value before changing.
The low word contains the horizontal padding and the high word the vertical padding, in pixels.
You could use the VO function LoWord() and HiWord() to get these values.