Custom Query
Results (205 - 207 of 3893)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #100 | No Bug | ControlSend Error | ChrisL | |
| Description |
in Autoit 3.2.10 and 3.2.11 controlsend doesn't just send the characters to the control but wipes out any data that was previously there. This never used to be the case. I expect the string of data in the input box to be added to not wip[ed out on every button press. This is a cut down version of the script to demonstrate the issue [code] #include <GuiConstants.au3> $keyboard = GuiCreate("Lab Setup", 700, 522,(@DesktopWidth-700)/2, (@DesktopHeight-522)/2 ,$WS_CAPTION, $WS_EX_TOPMOST) GuiCtrlCreateLabel ("Some data is missing from the database please enter this manually", 40, 10, 600, 40) GUICtrlSetFont (-1, 14) GuiCtrlCreateLabel ("1st line of address:", 40, 47, 99, 40) $Input_1 = GuiCtrlCreateInput("", 140, 40, 340, 30) GUICtrlSetFont (-1, 14) GuiCtrlCreateLabel ("Town:", 40, 97, 99, 40) $Input_2 = GuiCtrlCreateInput("", 140, 90, 340, 30) GUICtrlSetFont (-1, 14) GuiCtrlCreateLabel ("Phone Number:", 40, 147, 99, 40) $Input_3 = GuiCtrlCreateInput("", 140, 140, 340, 30,$ES_NUMBER) GUICtrlSetFont (-1, 14) $Button_1 = GuiCtrlCreateButton("1", 20, 190, 40, 40) $Button_2 = GuiCtrlCreateButton("2", 70,190, 40, 40) $Button_3 = GuiCtrlCreateButton("3", 120,190, 40, 40) $Button_4 = GuiCtrlCreateButton("4", 170,190, 40, 40) $Button_5 = GuiCtrlCreateButton("5", 220,190, 40, 40) $Button_6 = GuiCtrlCreateButton("6", 270,190, 40, 40) $Button_7 = GuiCtrlCreateButton("7", 320,190, 40, 40) $Button_8 = GuiCtrlCreateButton("8", 370,190, 40, 40) $Button_9 = GuiCtrlCreateButton("9", 420,190, 40, 40) $Button_0 = GuiCtrlCreateButton("0", 470,190, 40, 40) GuiSetState() Global $Active = ControlGetFocus(""); edit1 is active While 1
WEnd Func Pressed ($Key)
EndFunc code |
|||
| #546 | Rejected | FileOpen() Shared/exclusive access | Valik | ChrisL |
| Description |
I would find it useful to add a new flag or flags to the FileOpen() function for FILE_SHARE_NONE, FILE_SHARE_READ and FILE_SHARE_WRITE. Sometimes it is necessary to read and write to a file exclusively and if we could use an optional flag at the end of FileOpen() for shared access or exclusive access. I don't know if you could do it by adding another numerical flag to the existing set, or have a 3rd optional parameter 1 for exclusive and 0 for Shared (deault) I am aware that there are work arounds for this but it would be much neater for AutoIt to support it natively. Thanks |
|||
| #2075 | Fixed | GUICtrlSetImage changes icon position on resizable window | Jon | ChrisN |
| Description |
When a window is resized & the icon control is moved from its original position, updating it with GUICtrlUpdateImage moves it to its original position again. #include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 185, 139, 192, 148, BitOR($GUI_SS_DEFAULT_GUI,$WS_SIZEBOX,$WS_THICKFRAME))
$Icon1 = GUICtrlCreateIcon(@ScriptDir & "\default.ico", -1, 16, 88, 32, 32)
GUICtrlSetResizing(-1, $GUI_DOCKLEFT+$GUI_DOCKBOTTOM+$GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
GUISetState(@SW_SHOW)
AdlibRegister("updateicon")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func updateicon()
GUICtrlSetImage($Icon1, @ScriptDir & "\default.ico")
EndFunc
|
|||
