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

<element_template et_FindHistory>
	<SPRITE xxx	   z=30              x=4 y=7 w=33 h=33 z=1 align="CENTER" valign="CENTER" iconmodel="*.icon"	iconindex=1>
	<BUTTON xxx z=1 w=230 template=tlist_a bmp="btn_lb_poi.bmp#2" align="LEFT+57" 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=100 w=296 h=25 text="<No History Items>" align="center" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx                 x=12 y=96 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" onrelease='run sc_btnMH_ClearAll_OnRelease'> 
	<SPRITE xxx             template=pageindexspr>
</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=3	w=38 y=6 z=1 align="CENTER" iconmodel="*.icon"	iconindex=1 usefocus=0>
	<BUTTON xxx template=tlist_b align="LEFT+40" valign="CENTER" textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i">
	<BUTTON xxx template=tlist_b align="LEFT+40" 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=100 w=296 h=25 text="<No History Items>" align="center" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx                             x=12 y=96 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>
	<SPRITE xxx             template=pageindexspr>
	<BUTTON btnMH_ClearAll  template=footer2_1a text="Clear History" enabledmodel="!mydata.history.list.isempty" onrelease='run sc_btnMH_ClearAll_OnRelease'> 
</layer>
