;****************************************************************************************************************

<element_template et_FindHistory>

	<SPRITE xxx	z=30	x=1	y=16 w=30 h=31 align="CENTER" valign="CENTER" z=1 iconmodel="*.icon"	iconindex=1>
	<BUTTON xxx z=1 template=tlist_a bmp="btn_lb_poi.bmp#2" align="LEFT+41" paddingright=10 w=184 valign="CENTER"  textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i" onrelease='run sc_et_FindHistoryGo_OnRelease'>
	<BUTTON xxx z=10 bmp="btn_lb_Hyst.bmp#2" clickmodel="mydata.history.list.setcurrent $i" onrelease='run sc_et_FindHistoryGo_OnRelease, 15 run sc_btnPM_AddAny'>

</element_template>

<layer ui_FindHistory z=30>
	<LIST lstFH_History template=tlist element_template="et_FindHistory" listmodel="mydata.history.list">
	<TEXT   xxx template=xtxt3  x=12 y=133 w=216 h=25 text="<No History Items>" fontsize=14 align="center" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx x=13  y=128 bmp="empty_textbox.bmp" visiblemodel="mydata.history.list.isempty">
	<TEXT xxx               template=pageindex textmodel_wstr="ui.lstFH_History.page_counter">
	<BUTTON xxx             template=prevpage clickmodel="ui.lstFH_History.prevpage" enabledmodel="ui.lstFH_History.prevpage.valid" onlongclick='.ui.lstFH_History.autopage 2' onrelease='.ui.lstFH_History.autopage 0' onmouseleave='.ui.lstFH_History.autopage 0' NORELEASEONLONGCLICK>
	<BUTTON xxx             template=nextpage clickmodel="ui.lstFH_History.nextpage" enabledmodel="ui.lstFH_History.nextpage.valid" onlongclick='.ui.lstFH_History.autopage 1' onrelease='.ui.lstFH_History.autopage 0' onmouseleave='.ui.lstFH_History.autopage 0' NORELEASEONLONGCLICK>
	;<BUTTON btnFH_ClearAll	template=footer2_1a text="Clear History" onlongclick='run sc_show_btn_help "Clear History"' onrelease='run sc_btnMH_ClearAll_OnRelease'> 
</layer>

;****************************************************************************************************************

<element_template et_ManageHistory>
	<BUTTON xxx template=tlist_d iconspr="x.bmp" text="" clickmodel="mydata.history.list.setcurrent $i" onrelease='run sc_et_ManageHistoryDel_OnRelease' usefocus=0>
	<SPRITE xxx		x=2	w=30	y=10	z=1		align="CENTER"	iconmodel="*.icon"	iconindex=1 usefocus=0>
	<BUTTON xxx template=tlist_b w=145 align="LEFT+30" valign="CENTER" textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i">
	<BUTTON xxx template=tlist_b w=145 align="LEFT+30" z=100 valign="CENTER" clickmodel="mydata.history.list.setcurrent $i" alpha=0 disable>
</element_template>

<layer ui_ManageHistory z=30>
	<LIST lstMH_History template=tlist element_template="et_ManageHistory" listmodel="mydata.history.list">
	<TEXT   xxx template=xtxt3  x=12 y=133 w=216 h=25 text="<No History Items>" fontsize=14 align="center" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx x=13  y=128 bmp="empty_textbox.bmp" visiblemodel="mydata.history.list.isempty">
	<TEXT xxx               template=pageindex textmodel_wstr="ui.lstMH_History.page_counter">
	<BUTTON xxx             template=prevpage clickmodel="ui.lstMH_History.prevpage" enabledmodel="ui.lstMH_History.prevpage.valid" onlongclick='.ui.lstMH_History.autopage 2' onrelease='.ui.lstMH_History.autopage 0' onmouseleave='.ui.lstMH_History.autopage 0' NORELEASEONLONGCLICK>
	<BUTTON xxx             template=nextpage clickmodel="ui.lstMH_History.nextpage" enabledmodel="ui.lstMH_History.nextpage.valid" onlongclick='.ui.lstMH_History.autopage 1' onrelease='.ui.lstMH_History.autopage 0' onmouseleave='.ui.lstMH_History.autopage 0' NORELEASEONLONGCLICK>
	<BUTTON btnMH_ClearAll  template=footer2_1a text="" iconspr="icof_clearall.bmp#3" onlongclick='run sc_show_btn_help "Clear History"' enabledmodel="!mydata.history.list.isempty" onrelease='run sc_btnMH_ClearAll_OnRelease'> 
</layer>
