;****************************************************************************************************************
    <template d_btn_list template=tlist_d bmp="d_btn_lb_4e.bmp#3" iconalign="CENTER" iconvalign="CENTER" text="">

<element_template et_FindHistory>
	<SPRITE xxx	                 x=-27 y=5 w=33 h=33 z=1 align="CENTER" valign="CENTER" iconmodel="*.icon"	iconindex=1>
	<BUTTON xxx template=tlist_a x=-33 align="LEFT+57" valign="CENTER" textmodel_wstr="*.text" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 0, run sc_et_FindHistoryGo_OnRelease'>
    <BUTTON xxx template=d_btn_list x=290 iconspr="$d_ico_loadroute.bmp" clickmodel="mydata.history.list.setcurrent $i" onrelease='bDestinationStatus.set 1, run sc_et_FindHistoryGo_OnRelease' enabledmodel="!*.isempty" usefocus=0>
	<BUTTON xxx z=10 x=-33 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=52 y=97 w=296 h=25 text="<No History Items>" align="center" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx                 x=52 y=92 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=52 y=97 w=296 h=25 text="<No History Items>" align="center" visiblemodel="mydata.history.list.isempty">
	<SPRITE xxx                             x=52 y=92 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=footer1_1b text="Clear History" enabledmodel="!mydata.history.list.isempty" onrelease='run sc_btnMH_ClearAll_OnRelease'> 
</layer>
