Custom Query
Results (64 - 66 of 3866)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#198 | Fixed | _FileReadToArray | Jpm | Xenobiologist |
Description |
Hi, this is no really big bug, but it would be nice if someone could explain that to me. In the function _FileReadToArray there is this code $aArray = StringSplit(StringStripCR(StringStripWS(FileRead($hFile, FileGetSize($sFilePath)), 2)), @LF) This cuts off emtpy lines at the end of the file. Is this correct? Why not putting empty lines to the array? Thanks for clarification. Mega |
|||
#209 | Fixed | Another guictrldelete win32 exception | MeJonah@… | |
Description |
Using guictrldelete() on a natively created listview which has had all its natively created items guictrldelete()'d causes a win32 exception in 3.2.11.6. #include <guiconstantsex.au3> #include <guilistview.au3> $gui = guicreate("TEST", 500, 500) $search_listview = guictrlcreatelistview("Items requiring follow-up", 10, 10, 480, 380, BitOr($GUI_SS_DEFAULT_LISTVIEW, $LVS_NOSORTHEADER)) $item1 = guictrlcreatelistviewitem("TEST", $search_listview) $item2 = guictrlcreatelistviewitem("TEST", $search_listview) $button = guictrlcreatebutton("GO", 200, 400, 100, 50) guisetstate() while 1=1 $msg = guigetmsg() if $msg <> 0 Then switch $msg case $gui_event_close Exit case $button guisetstate(@SW_LOCK) guictrldelete($item1) guictrldelete($item2) guictrldelete($search_listview) guisetstate(@SW_UNLOCK) EndSwitch endif wend |
|||
#213 | Fixed | GUISetAccelerators doesn't work with enter Key from 3.2.11.6 | Jpm | Wooltown |
Description |
From Beta 3.2.11.6 - ENTER - doesn't work on GUISetAccelerators, worked fine on 3.2.11.5. #include <GUIConstantsEx.au3> GUICreate("Custom Msgbox", 280, 80) GUICtrlCreateLabel("Please click a button!", 10, 10) $YesID = GUICtrlCreateButton("Yes", 10, 50, 50, 20) $NoID = GUICtrlCreateButton("No", 80, 50, 50, 20) $ExitID = GUICtrlCreateButton("Exit", 150, 50, 50, 20) $EnterID = GUICtrlCreateButton("Enter", 220, 50, 50, 20) ; Set accelerators for Ctrl+y and Ctrl+n Dim $AccelKeys[3][2]=[["^y", $YesID], ["^n", $NoID],["{ENTER}", $EnterID]] GUISetAccelerators($AccelKeys) GUISetState() ; display the GUI Do $msg = GUIGetMsg() Select Case $msg = $YesID MsgBox(0, "You clicked on", "Yes") Case $msg = $NoID MsgBox(0, "You clicked on", "No") Case $msg = $ExitID MsgBox(0, "You clicked on", "Exit") Case $msg = $EnterID MsgBox(0, "You clicked on", "Enter") Case $msg = $GUI_EVENT_CLOSE MsgBox(0, "You clicked on", "Close") EndSelect Until $msg = $GUI_EVENT_CLOSE Or $msg = $ExitID |
Note: See TracQuery
for help on using queries.