Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (346 - 348 of 3904)

Ticket Resolution Summary Owner Reporter
#2286 Fixed GuiCtrtlGetState without a controlID parameter runs but aborts AutoIt Jon anonymous
Description

GuiCtrtlGetState without a controlID parameter runs but aborts AutoIt, with rc:-1073741819. This was my test script:

#include <GuiConstants.au3>
GUICreate(" My GUI input")
GUICtrlCreateInput("", 10, 35, 300, 20)
$btnTest = GUICtrlCreateButton("Test",30,80)
 GUISetState()

 $msg = 0
 While True
   $msg = GUIGetMsg()
    Switch $msg
      case $GUI_EVENT_CLOSE
         Exit
      Case $btnTest
         GUICtrlGetState()
   EndSwitch
   WEnd

It aborts when the Test button is clicked.

It is illogical that GuiCtrlGetState be runnable without a parameter, because it must get the state of a control.

The controlID parameter should be required.

Guiness has suggested that I report this bug.

#2287 Fixed GUICtrlSetState($controlID, $GUI_ONTOP) Doesn't set on top Jon jmon
Description

GUICtrlSetState($controlID, $GUI_ONTOP) Doesn't set the control on top of others. This constant doesn't seem to do anything. The problem has been tested and discussed here:http://www.autoitscript.com/forum/topic/146182-solved-change-z-ordering-of-controls/#entry1034615

Example:

#include <GUIConstantsEx.au3>

$GUI = GUICreate("Test", 800, 600)
GUISetState()

$LABEL1 = GUICtrlCreateLabel("under", 20, 20, 500, 300)
GUICtrlSetBkColor(-1, 0xFF0000)
$LABEL2 = GUICtrlCreateLabel("above", 40, 60, 500, 300)
GUICtrlSetBkColor(-1, 0x00FF00)

GUICtrlSetState($LABEL1, $GUI_ONTOP)

Do
Sleep(50)
Until GUIGetMsg() = -3
Exit
#2299 Fixed GUI Button Text Left-Justify Bug Jon anonymous
Description

When left-justify button text formatting is set, it changes text color and background to black/white. If either text color or background is set after left-justify, the justify changes to centered. This problem exists in both v3.3.8.1 and v3.3.9.5 (beta).

BTW, thanks for providing this great utility.

The attached file illustrates the left-justify problem.

Note: See TracQuery for help on using queries.