Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/doc/jp/html/macro/command/statusbox.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3226 by maya, Tue Mar 24 09:37:20 2009 UTC revision 3227 by maya, Tue Mar 24 15:10:33 2009 UTC
# Line 1  Line 1 
1  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2    "http://www.w3.org/TR/html4/strict.dtd">    "http://www.w3.org/TR/html4/strict.dtd">
3  <html>  <html>
4  <head>  <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">    <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
6    <title>statusbox</title>    <title>statusbox</title>
7    <meta http-equiv="Content-Style-Type" content="text/css">    <meta http-equiv="Content-Style-Type" content="text/css">
8    <link rel="stylesheet" href="../../style.css" type="text/css">    <link rel="stylesheet" href="../../style.css" type="text/css">
9  </head>  </head>
10    
11  <body>  <body>
12    
13    
14  <h1>statusbox</h1>  <h1>statusbox</h1>
15    
16  <p>  <p>
17  ステータスダイアログボックスを表示する。  ステータスダイアログボックスを表示する。
18  </p>  </p>
19    
20  <pre class="macro-syntax">  <pre class="macro-syntax">
21  statusbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]  statusbox &lt;message&gt; &lt;title&gt; [&lt;special&gt;]
22  </pre>  </pre>
23    
24  <h2>解説</h2>  <h2>解説</h2>
25    
26  <p>  <p>
27  ステータスダイアログボックスが表示されていない場合、それを表示する。<br>  ステータスダイアログボックスが表示されていない場合、それを表示する。<br>
28  ダイアログボックスのメッセージを &lt;message&gt; に、タイトルを &lt;title&gt; に変える。  ダイアログボックスのメッセージを &lt;message&gt; に、タイトルを &lt;title&gt; に変える。
29  </p>  </p>
30    
31  <p>  <p>
32  "<a href="setdlgpos.html">setdlgpos</a>" コマンドはステータスダイアログボックスの位置を変える。<br>  "<a href="setdlgpos.html">setdlgpos</a>" コマンドはステータスダイアログボックスの位置を変える。<br>
33  "<a href="closesbox.html">closesbox</a>" コマンドはステータスダイアログボックスを閉じる。  "<a href="closesbox.html">closesbox</a>" コマンドはステータスダイアログボックスを閉じる。
34  </p>  </p>
35    
36  <p>  <p>
37  &lt;special&gt; が 0 でない場合は、&lt;message&gt; に含まれる以下の文字列は特殊文字として扱われます。<br>  &lt;special&gt; が 0 でない場合は、&lt;message&gt; に含まれる以下の文字列は特殊文字として扱われます。<br>
38  &lt;special&gt; が指定されない場合は 1 が使用されます。  &lt;special&gt; が指定されない場合は 1 が使用されます。
39  </p>  </p>
40    
41  <table>  <table>
42   <tr>   <tr>
43    <th>入力</th>    <th>入力</th>
44    <th>出力</th>    <th>出力</th>
45   </tr>   </tr>
46   <tr>   <tr>
47    <td>\\</td>    <td>\\</td>
48    <td>"\"</td>    <td>"\"</td>
49   </tr>   </tr>
50   <tr>   <tr>
51    <td>\n</td>    <td>\n</td>
52    <td>改行</td>    <td>改行</td>
53   </tr>   </tr>
54   <tr>   <tr>
55    <td>\t</td>    <td>\t</td>
56    <td>タブ</td>    <td>タブ</td>
57   </tr>   </tr>
58  </table>  </table>
59    
60  <h2>例</h2>  <h2>例</h2>
61    
62  <pre class="macro-example">  <pre class="macro-example">
63  ; 表示位置を指定  ; 表示位置を指定
64  setdlgpos 200 200  setdlgpos 200 200
65  ; ダイアログボックスを表示  ; ダイアログボックスを表示
66  statusbox 'Message' 'Title'  statusbox 'Message' 'Title'
67  pause 3  pause 3
68  ; ダイアログボックスを移動  ; ダイアログボックスを移動
69  setdlgpos 0 0  setdlgpos 0 0
70  pause 3  pause 3
71  ; ダイアログボックスを閉じる  ; ダイアログボックスを閉じる
72  closesbox  closesbox
73  </pre>  </pre>
74    
75    
76  <pre class="macro-example">  <pre class="macro-example">
77  ; カウンタを表示しながらループする  ; カウンタを表示しながらループする
78  step = 0  step = 0
79  while 1  while 1
80    call show_step    call show_step
81    sendln 'echo do something'    sendln 'echo do something'
82    wait '$'    wait '$'
83    pause 2    pause 2
84  endwhile  endwhile
85  exit  exit
86    
87  :show_step  :show_step
88  step = step + 1  step = step + 1
89  int2str s step  int2str s step
90  statusbox s 'counter'  statusbox s 'counter'
91  return  return
92  </pre>  </pre>
93    
94  </body>  </body>
95  </html>  </html>

Legend:
Removed from v.3226  
changed lines
  Added in v.3227

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26