MQScrollBox class

(new in Rev4.00)

MQScrollBox class manages a scrollable frame area. Multiple child widgets can be contained horizontally or vertically in the frame. It inherits a MQWidgetBase class.

Please refer the inherited class about member functions declared in the inherited class.

Class
MQScrollBox Constructor
~MQScrollBox Destructor
Member functions
GetHorzBarStatus Get a horizontal scroll bar status
SetHorzBarStatus Set a horizontal scroll bar status
GetVertBarStatus Get a vertical scroll bar status
SetVertBarStatus Set a vertical scroll bar status
GetAutoWidgetScroll Get an automatic scroll for widgets
SetAutoWidgetScroll Set an automatic scroll for widgets

MQScrollBox::MQScrollBox();

MQScrollBox::MQScrollBox(int id);

id
A widget ID created outside the plug-in

It is a constructor.


virtual MQScrollBox::~MQScrollBox();

This method is a destructor. It is defined as a virtual function.


MQScrollBox::MQScrollBoxBarStatus MQScrollBox::GetHorzBarStatus();

Return value
A horizontal scroll status

It returns how to show a horizontal scroll bar.


void MQScrollBox::SetHorzBarStatus(MQScrollBoxBarStatus value);

value
A horizontal scroll status

It specifies how to show a horizontal scroll bar.


MQScrollBox::MQScrollBoxBarStatus MQScrollBox::GetVertBarStatus();

Return value
A vertical scroll status

It returns how to show a vertical scroll bar.


void MQScrollBox::SetVertBarStatus(MQScrollBoxBarStatus value);

value
A vertical scroll status

It specifies how to show a vertical scroll bar.


bool MQScrollBox::GetAutoWidgetScroll();

Return value
Whether to scroll child widgets automatically or not

It returns whether child widgets are moved automatically or not at the time of scrolling.


void MQScrollBox::SetAutoWidgetScroll(bool value);

value
Whether to scroll child widgets automatically or not

It specifies whether child widgets are moved automatically or not at the time of scrolling.