2.2.4.34.27 PageBase::TitleShow

ClassName

PageBase

AccessType

public

Name

TitleShow

Declaration

int TitleShow

Remark

Data member that controls the display of window names and labels of the Page object.

Possible values, defined in OC_Const.h, include:

WIN_TITLE_SHOW_LABEL 1

WIN_TITLE_SHOW_NAME 2

WIN_TITLE_SHOW_BOTH 3

Examples

EX1

int PageBase_TitleShow_ex1()
{
    WorksheetPage wp;
    if( wp.Create("origin", CREATE_VISIBLE_SAME) )
    {
        wp.Label = "My Label";
        wp.TitleShow = WIN_TITLE_SHOW_BOTH;
        printf("Worksheet '%s' has label '%s'\n", wp.GetName(), wp.Label);
    }
    else
        printf("Failed to create worksheet page.\n");
    return 0;
}

Description

Show state of page label.

Header to Include

origin.h

See Also

PageBase::Label

Reference