Debugging PowerShell modules with PrimalScript.Debugging multiple scripts with PrimalScript.SetToolTip($control, $text)įor example, this statement associates the ToolTip in the $tooltipTest variable with the button in $button1 and sets its text to “This is a button”. Use this method to create a ToolTip for a control or replace the existing tooltip for the control. Important Methods SetToolTip method: Associates a ToolTip with a control and sets its text Use this property to add, remove, or change the Tooltip title.įor example, this tooltip has the title: ToolTip Title ToolTipTitle property: Adds a title to the Tooltip window ToolTipIcon property: Adds an icon to the ToolTip text. You can set the ReshowDelay property or, to coordinate the Tooltip delays, adjust the AutomaticDelay property. Use the ReshowDelay property to set the length of time, in milliseconds, that elapses before subsequent ToolTip windows appear as the cursor moves from one control to another. ReshowDelay property: Time between tooltips Value type: System.Boolean ($True, $False).Use the IsBalloon property to change the shape of the Tooltip. ![]() IsBalloon property: Determines whether the Tooltip is balloon-shaped or rectangular You can set this delay independently, or use the AutomaticDelay property to coordinate the values of the Tooltip delay properties. If the delay is too long, the user moves on and does not discover the tooltip. If the delay is too short, the tooltip appears when the user is passing over, not hovering, and becomes annoying. Use this property to determine the number of milliseconds between the time the user hovers places the cursor over the control and the time that the Tooltip appears. InitialDelay property: The elapsed time before the ToolTip appears, in milliseconds The AutomaticDelay property sets the following values:
0 Comments
Leave a Reply. |