PCL
TabBox Event Handlers

Typedefs

using pcl::TabBox::page_event_handler = void(Control::*)(TabBox &sender, int pageIndex)
 

Functions

void pcl::TabBox::OnPageSelected (page_event_handler handler, Control &receiver)
 

Detailed Description

Typedef Documentation

◆ page_event_handler

using pcl::TabBox::page_event_handler = void (Control::*)( TabBox& sender, int pageIndex )

Defines the prototype of a tab box page event handler.

A tab box page event is generated when the user changes the current page in a tab box control.

Parameters
senderThe control that sends a tab box page event.
pageIndexThe zero-based index of a tab box page.

Definition at line 351 of file TabBox.h.

Function Documentation

◆ OnPageSelected()

void pcl::TabBox::OnPageSelected ( page_event_handler  handler,
Control receiver 
)

Sets the tab box page selected event handler for this TabBox control.

Parameters
handlerThe tab box page event handler. Must be a member function of the receiver object's class.
receiverThe control that will receive tab box page selected events from this TabBox.