CTab.SetPaddingmethod
Sets the amount of space (padding) around each tab's icon and label in a tab control.
Syntax
SUB SetPadding (BYVAL hTab AS HWND, BYVAL cx AS INTEGER, BYVAL cy AS INTEGER)
Parameters
| Name | Description | |
|---|---|---|
hTab | Handle to the tab control. | |
cx | Amount of horizontal padding, in pixels. | |
cy | Amount of vertical padding, in pixels. |
Description
Sets the amount of space (padding) around each tab's icon and label in a tab control.
Example
CTab.SetPadding(hTab, 10, 10)
Reference
- Include file
CTab.inc - Defined in AfxNova/CTab.inc:436
- Documented in Windows/WIndows Controls/CTab Class.md
- Topic: CTab Class