Custom Query (3931 matches)
Results (418 - 420 of 3931)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #2943 | Works For Me | Disabled dummy control reacts on accelerators | ||
| Description |
I noticed that in previous versions (3.3.12.0) $GUI_DISABLE didn't have any effect on accelerators. This is fixed in the beta, but unfortunately not completely. Testing 3.3.13.19, $GUI_DISABLE disables accelerators for controls like buttons, but not for dummy controls. This should not work: #include <GUIConstantsEx.au3>
GUICreate("Hit Enter in this GUI")
$idDummy = GUICtrlCreateDummy()
GUICtrlSetState($idDummy, $GUI_DISABLE)
Global $aArray[1][2] = [["{ENTER}", $idDummy]]
GUISetAccelerators($aArray)
GUISetState()
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
Exit
Case $idDummy
MsgBox(0, "Dummy", "Entered")
EndSwitch
WEnd
Another thing that I think should not be possible and may be related to this is GUICtrlSendToDummy:
|
|||
| #2945 | Fixed | Center and right justified text broken on native buttons when colours set | ||
| Description |
Hi, After upgrading my scripts from 3.3.8.1 to 3.3.12.0/3.3.13.19 it appears that center and right justification of native buttons aren't working properly now when either
An alternate problem is: if the alignment is set using GUICtrlSetStyle after the colour has been set then the colours settings are lost (but the alignment is then correct). (Note also:- Strangely after loosing set default colours with a style change, setting just the background colour restores the foreground colour as well, as can be seen in the last set of examples).
The problems occur on 3.3.12.0 and 3.3.13.19. Slightly different but similar issues occurred in 3 3.8.1. My suspicion is that it that it might be related to the bug fix for #2299 at milestone 3.3.9.21. In 3.3.8.1 Left and Right alignment were wrong but center was correct. The permutations of: default color settings; alignment at creation; style changes; and color changes effect the issue in different ways. So I have attached a script that shows the permutations and labels those which are wrong.
Without wishing to state the obvious I wonder if the values used by MS for alignments are causing any confusion as
so simple bit tests don't always do what expected. Regards Alan Parry |
|||
| #2955 | Fixed | Using Is### breaks Maps passed ByRef | ||
| Description |
Depending on various things, some map values can be broken Shortest working example i got: #AutoIt3Wrapper_Version=Beta
#include <Debug.au3>
WTF() ; works, if outside of func
MsgBox(0, Default, "Yep!")
Func WTF()
Local $MAP[]
$MAP["mod"] = "Mod"
$MAP["more"] = "More actions"
$MAP["delete"] = "Delete"
Local $sTest1 = $MAP["more"] ; after this $Map["more"] is Null
Local $sTest2 = $MAP["more"]
_Assert("$sTest1 == $sTest2") ; Assertion Failed
EndFunc
|
|||
