Text controls also support the DoubleClick event. MyGui.Add("Link", 'Click here to launch Google.') Alternatively, a Link control can be used: For example: MyGui := Gui()įakeLink := MyGui.Add("Text", "", "Click here to launch Google.") To detect when the user clicks the text, use the Click event. If a width (W) is specified in Options but no rows (R) or height (H), the text will be word-wrapped as needed, and the control's height will be set automatically. In addition, a single long line can be broken up into several shorter ones by means of a continuation section. It may contain linefeeds (`n) to start new lines. In this case, the last parameter is the string to display. Often used to label other controls.įor example: MyGui.Add("Text", "Please enter your name:") Internet Explorer Control)ĭescription: A region containing borderless text that the user cannot edit. GUI Control Types - Syntax & Usage | AutoHotkey v2 GUI Control Types Table of Contents
0 Comments
Leave a Reply. |