You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>In an expression where all operands are true, the <u>last</u> operand is returned. Otherwise, the <u>first</u> operand that is false is returned. In other words, the result is true only if all operands are true. Boolean expressions are subject to <ahref="Functions.htm#ShortCircuit">short-circuit evaluation</a> (from left to right) to improve performance.</p>
235
235
<p>In the following example, all operands are true and will be evaluated:</p>
236
236
<pre>A := 1, B := {}, C := 20, D := true, E := "str"
237
-
MsgBox(A && B && C && D && E) <em>; Shows "str" (E).</em></pre>
237
+
MsgBox(A && B && C && D && E) <em>; "str" (E)と表示します。</em></pre>
238
238
<p>In the following example, only the first two operands will be evaluated because B is false. The rest is ignored, i.e. C is not incremented either:</p>
239
239
<pre>A := 1, B := "", C := 0, D := false, E := "str"
240
-
MsgBox(A && B && ++C && D && E) <em>; Shows "" (B).</em></pre>
240
+
MsgBox(A && B && ++C && D && E) <em>; "" (B)と表示します。</em></pre>
<p>Same as DropDownList but also permits free-form text to be entered as an alternative to picking an item from the list. In this case, the last parameter of <ahref="Gui.htm#Add">Gui.Add</a> is an <ahref="Array.htm">Array</a> like <code>["Choice1", "Choice2", "Choice3"]</code>.</p>
<p>A list of choices that is displayed in response to pressing a small button. In this case, the last parameter of <ahref="Gui.htm#Add">Gui.Add</a> is an <ahref="Array.htm">Array</a> like <code>["Choice1", "Choice2", "Choice3"]</code>.</p>
<p>A rectangular border/frame, often used around other controls to indicate they are related. In this case, the last parameter is the title of the box, which if present is displayed at its upper-left edge.</p>
<p>A box that looks like a single-line edit control but instead accepts a keyboard combination pressed by the user. For example, if the user presses <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd> on an English keyboard layout, the box would display "Ctrl + Alt + C".</p>
<pre>MyGui.Add("Link",, 'This is a <a href="https://www.autohotkey.com">link</a>')
334
334
MyGui.Add("Link",, 'Links may be used anywhere in the text like <a id="A">this</a> or <a id="B">that</a>')</pre>
335
-
<p>あるいは:</p>
335
+
<p>Or:</p>
336
336
<pre>MyGui.AddLink(, 'This is a <a href="https://www.autohotkey.com">link</a>')
337
337
MyGui.AddLink(, 'Links may be used anywhere in the text like <a id="A">this</a> or <a id="B">that</a>')</pre>
338
338
<p>アピアランス(外観):</p>
@@ -361,7 +361,7 @@ <h2 id="ListBox">ListBox</h2>
361
361
<p>A relatively tall box containing a list of choices that can be selected. In this case, the last parameter of <ahref="Gui.htm#Add">Gui.Add</a> is an <ahref="Array.htm">Array</a> like <code>["Choice1", "Choice2", "Choice3"]</code>.</p>
<p>An area containing an image (see last two paragraphs for supported file types). The last parameter is the filename of the image, which is assumed to be in <ahref="../Variables.htm#WorkingDir">A_WorkingDir</a> if an absolute path isn't specified.</p>
<p>To retain the image's actual width and/or height, omit the W and/or H options. Otherwise, the image is scaled to the specified width and/or height (this width and height also determines which icon to load from a multi-icon .ICO file). 画像のアスペクト比を保ったまま縮小・拡大する場合は、一方の寸法に-1、他方の寸法に正の数を指定します。例えば、<code>"w200 h-1"</code>を指定すると、画像の幅は200ピクセルになり、高さは自動的に設定されました。If the picture cannot be loaded or displayed (e.g. file not found), an error is thrown and the control is not added.</p>
429
429
<p>Picture controls support the <ahref="GuiOnEvent.htm#Click">Click</a> and <ahref="GuiOnEvent.htm#DoubleClick">DoubleClick</a> events, with the same <ahref="#SS_NOTIFY">caveat</a> as Text controls.</p>
<p>A radio button is a small empty circle that can be checked (on) or unchecked (off).</p>
465
465
<p>事例:</p>
466
466
<pre>MyGui.Add("Radio", "vMyRadioGroup", "Wait for all items to be in stock before shipping.")</pre>
467
-
<p>あるいは:</p>
467
+
<p>Or:</p>
468
468
<pre>MyGui.AddRadio("vMyRadioGroup", "Wait for all items to be in stock before shipping.")</pre>
469
469
<p>アピアランス(外観):</p>
470
470
<imgsrc="../static/ctrl_radio.png" alt="Radio" />
@@ -480,7 +480,7 @@ <h2 id="Slider">Slider</h2>
480
480
<p>A sliding bar that the user can move along a vertical or horizontal track. The standard volume control in the taskbar's tray is an example of a slider.</p>
0 commit comments