TitleShow
PageBase
public
int TitleShow
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
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; }
Show state of page label.
origin.h
PageBase::Label