示例#1
0
/*************************************************************************
	Show the drop-down list
*************************************************************************/
void Combobox::showDropList(void)
{
	// Display the box
	d_droplist->show();
	d_droplist->activate();
	d_droplist->captureInput();

	// Fire off event
	WindowEventArgs args(this);
	onDropListDisplayed(args);
}
示例#2
0
/*************************************************************************
	Show the drop-down list
*************************************************************************/
void Combobox::showDropList(void)
{
    updateAutoSizedDropList();

	// Display the box
    ComboDropList* droplist = getDropList();
	droplist->show();
	droplist->activate();
	droplist->captureInput();

	// Fire off event
	WindowEventArgs args(this);
	onDropListDisplayed(args);
}