Tab Controls

For BBj-specific information, see Tab Controls - BBj.

Tab controls provide the capability to multiple logical pages or sections of information within the same window.

Creating

Mnemonic

Description

'TABCTRL'

Create a Tab Control.

Querying

CTRL() Function

Information Returned

0

Outer rectangle of the control in current scaled units.

1

Index of the currently-selected tab.

4

Control class and type.

8

Visible/invisible and enabled/disabled status of the control.

15

Background color of the control.

16

Foreground color of the control.

 

TABCTRL SENDSMSG() Function

Number

Disable Tab

37

Get Bounding Rectangle

21

Get Current Tab

38

Get/Set Display Rectangle

20

Get Number of Tab Rows

22

Get Tab Count

31

Get Tab Image List ID

30

Get Tab Index

29

Get Tab Information

27

Insert Tab

33

Perform Point Hit Test

32

Remove a Tab

26

Remove All Tabs

25

Select Tab

34

Set Tab Attributes

36

Set Tab Icon/Label Padding

24

Set Tab Image List ID

35

Set Tab Index Focus

39

Set Tab Width and Height

23