iT邦幫忙

0

ProgressBar 中間顯示當下Value

xml

各位大大好
小弟想請問該如何在進度條中加上百分比顯示目前進度

<control name="bar" entity="ProgressBar" script="" init="">
  <prop 
   Maximum="100" 
   Value="100" 
   WidthGap="2" 
   HeightGap="2"  
   ProgressImage="ui\bar.png" 
   ProgressMode="RightToLeft" 
   Left="150" 
   Top="50" 
   Width="164" 
   Height="12" 
   ForeColor="0,0,0,0" 
   BackColor="0,0,0,0" 
   LineColor="0,0,0,0" 
   BlendColor="0,255,255,255" 
   ShadowColor="0,0,0,0" 
   DataSource="7" 
   Font="Arial11" 
   NoFrame="true" 
   DrawMode="Center" 
  />
  <event on_right_click="on_show_menu" />
</control>

1 個回答

0
pokemon025
iT邦新手 5 級 ‧ 2021-03-05 09:56:32

xml 屬性你喜歡怎麼定就怎麼定啊~~

我要發表回答

立即登入回答