?? undeterminedprogressbar.xml
字號:
<application> <window caption="Progress Bar Test" width="300" height="130"/> <resources> <script><![CDATA[function UndeterminedProgressBar() { var win = application.getWindow(); var pb = new BiUndeterminedProgressBar; var startButton = new BiButton("Pause"); pb.setLocation(5, 5); pb.setRight(5); //pb.setBottom(5); win.add(pb); startButton.setRight(5); startButton.setBottom(5); startButton.setWidth(70); win.add(startButton); startButton.addEventListener("action", function () { if (pb.getStarted()) { // running pb.stop(); startButton.setText("Resume"); } else { pb.start(); startButton.setText("Pause"); } }); pb.addEventListener("change", function () { win.setCaption(pb.getValue()); }); pb.start();}UndeterminedProgressBar.main = function () { new UndeterminedProgressBar(); }; ]]></script> </resources></application>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -