Help Center

CTab.SetPaddingmethod

Sets the amount of space (padding) around each tab's icon and label in a tab control.

WindowsmethodCTab.incdocumented

Syntax

SUB SetPadding (BYVAL hTab AS HWND, BYVAL cx AS INTEGER, BYVAL cy AS INTEGER)

Parameters

NameDescription
hTabHandle to the tab control.
cxAmount of horizontal padding, in pixels.
cyAmount 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