Custom Query
Results (223 - 225 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #3778 | Fixed | Tooltip does not reset the position correctly | Jon | Dan_555 |
| Description |
Pixelsearch noticed, in this https://www.autoitscript.com/forum/topic/203602-tooltip-position-issue/ thread, that the Tooltip position does not reset correctly. Working Code: #include <AutoItConstants.au3>
ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(2000)
Next Two codeblocks show the Bug: #1: #include <AutoItConstants.au3>
ToolTip("This is tooltip 1", 0, 0)
Sleep(2000)
ToolTip("")
ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(2000)
#2: #include <AutoItConstants.au3>
ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(3000)
ToolTip("")
ToolTip("This is tooltip 1", 0, 0)
Sleep(3000)
And a workaround: #include <AutoItConstants.au3>
ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(3000)
ToolTip("",0,0,"",0,$TIP_BALLOON)
ToolTip("This is tooltip 1", 1, 2)
Sleep(3000)
|
|||
| #3799 | No Bug | _ChooseFont (Canceling the dialog) suggestion. | Dan_555 | |
| Description |
Currently, when the _ChooseFont is called, and the font dialog is cancelled, the array is not created and @error is not set for it. Testcode fails, if the fontdialog is cancelled, at the $font=$aF[2]: Func SelFont() ;Select a font Local $aF = _ChooseFont($font) If @error > 0 Then $font = "System2" Else $font = $aF[2] EndIf EndFunc ;==>SelFont My Suggestion would be to set the @error flag to a number higher than 0 There is a workaround code, to check if the array was created: Func SelFont() ;Select a font Local $aF = _ChooseFont($font) If @error > 0 Then $font = "System2" Else if IsArray($af) then $font = $aF[2] Else $font = "System2" EndIf EndIf EndFunc ;==>SelFont
|
|||
| #1741 | Rejected | Rounding: optionally add trailing zeros | Dana | |
| Description |
Currently, the Round function does not pad trailing zeros onto a number that has less than the specified number. In most cases this is good; however, there are circumstances (for example, formatting columns of numbers for printing) where having all the strings of the same length is necessary. I would like to see an optional additional boolean parameter to specify that trailing zeros be added to bring it up to the specified number of digits (the default, of course, is don't add trailing zeros). Alternately, a negative number for decimal places could mean to add trailing zeros. Neither of these changes would break existing programs. Round("1.234", 4, 0) or Round("1.234", 4) >> 1.234 Round("1.234", 4, 1) or Round("1.234", -4) >> 1.2340 |
|||
