= Description = 
 * embeded IE Browser 

= Sample = 

{{{#!vim php 
<?php

/** 
 * WBHTMLControl, winbinder 
 * 
 * 
 *  written by easylogic
 * 
 */

$window = new WBResizableWindow(array(
	'width' => 500,
	'height' => 500,
	'title' => 'WBHTMLControl example',
	'layout' => new WBTableLayout( array('*'), array(30, 30, '*') )
));

$panel = $window->add(array( 'wbtype' => 'Panel', 'layout' => new WBGridLayout(5, 1), ));

$panel->add(array('wbtype' => 'PushButton', 'caption' => '빈페이지', 'event' => array('click' => 'test'), ));
$panel->add(array('wbtype' => 'PushButton', 'caption' => '◀뒤로', 'event' => array('click' => 'test'), ));
$panel->add(array('wbtype' => 'PushButton', 'caption' => '앞으로▶', 'event' => array('click' => 'test'), ));
$panel->add(array('wbtype' => 'PushButton', 'caption' => '멈춤', 'event' => array('click' => 'test'), ));
$panel->add(array('wbtype' => 'PushButton', 'caption' => '새로고침', 'event' => array('click' => 'test'), ));

$panel = $window->add(array('wbtype' => 'Panel', 'layout' => new WBTableLayout(array('*', 50), array('*'))));

$edit = $panel->add(array('wbtype' => 'EditBox', 'text' => '', ));
$panel->add(array('wbtype' => 'PushButton', 'caption' => '검색', 'event' => array('click' => 'test'), ));

$html = $window->add(array( 'wbtype' => 'HTMLControl'));


$window->setVisible(true);


WBApplication::start();

function test($eo) { 
	global $edit, $html;

	$caption = $eo->object()->getText();

	switch ($caption) { 
	case "빈페이지" : $html->blank(); break;
	case "◀뒤로" : $html->back(); break;
	case "앞으로▶" : $html->forward(); break;
	case "멈춤" : $html->stop(); break;
	case "새로고침" : $html->refresh(); break;
	case "검색" : $html->setLocation($edit->getText()); break;
	}

}


?>
}}}
