<DrawPage name="进度条说明" bk_transparent="0" bk_color="0;0;255" bk_image="Images\帮助\帮助单页.jpg" size_option="0" width="1024" height="600"><item name="Button1" id="4" type="button" button_type="0" focus="0" notify_disable="0" key_code="a" key_type="0" init_state="0" button_style="0" longpress_delay="0" url_down="" url_up="" popup_menu_id="0" input_text_id="0" switch="进度条" switch_effect="2" switch_area="0" switch_area_left="0" switch_area_right="0" switch_area_top="0" switch_area_bottom="0" action="" xOffset="2" yOffset="2" width="139" height="72" cut_up="0" cut_up_offset_x="0" cut_up_offset_y="0" cut_down="0" cut_down_offset_x="0" cut_down_offset_y="0" custom_data_up="" custom_data_down="" external_data_up="" external_data_down="" external_data_delay="100" child_screen="0" need_login="0" login_password="888888" show_text_state="0" font="7" font_color_up="255;255;255" font_color_down="255;255;255" text_state_up="" text_state_down="" bind_variant=""/><item name="Text1" id="1" type="text" multi_lang="1" text_align="0" text_align_v="0" text="可以通过按钮加减进度条的值，也可以拖动进度条增加减少值；进度条的值在变的时候，对应的文本框的值也跟着变。
1.LUA脚本控制实现：






2.MCU下位机控制实现，功能函数如下：
按钮控制进度条的值：



拖动进度条的值：" text1="" text2="" text3="" text4="" text5="" text6="" text7="" text8="" text9="" font="8" encode="1" show_bk="0" fore_color="0;0;0" bk_color="255;255;255" xOffset="25" yOffset="88" width="963" height="447" row_gap="0" col_gap="0"/><item name="Text2" id="3" type="text" multi_lang="1" text_align="0" text_align_v="0" text="void NotifyButton(uint16 screen_id, uint16 control_id, uint8  state)



void NotifyProgress(uint16 screen_id, uint16 control_id, uint32 value)" text1="" text2="" text3="" text4="" text5="" text6="" text7="" text8="" text9="" font="8" encode="1" show_bk="0" fore_color="0;0;128" bk_color="255;255;255" xOffset="46" yOffset="376" width="939" height="164" row_gap="0" col_gap="0"/><item name="Text3" id="2" type="text" multi_lang="1" text_align="0" text_align_v="0" text="value=get_value(5,4)
if value&gt;0       then    value=value-1
if value&lt;100     then    value=value+1
if control==1    then    value=value
set_value(5,1,value)     set_value(5,4,value)" text1="" text2="" text3="" text4="" text5="" text6="" text7="" text8="" text9="" font="8" encode="1" show_bk="0" fore_color="0;0;128" bk_color="255;255;255" xOffset="47" yOffset="164" width="919" height="139" row_gap="0" col_gap="0"/></DrawPage>
