Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (283 - 285 of 3893)

Ticket Resolution Summary Owner Reporter
#964 No Bug _ArrayCombinations() not returning expected results. GEOSoft
Description

This function skips a large amount of the combinations, because it apparently does not do a "look behind". In the code below it starts by missing 00 but that's not too serious. It does begin to get serious starting at the point where it jumps from 19 to 23. After that each decade is progressively worse. This would not be the expected result of a function with this name.


#include<array.au3>

Dim $aArray[10] = [0,1, 2, 3, 4, 5, 6, 7, 8, 9]
$aArrayCombo = _ArrayCombinations($aArray, 2)
_ArrayDisplay($aArrayCombo)

This isn't urgent since I already have one that will return the desired results but I thought it best that you be aware of this.

#965 No Bug ListViewItem not responding to SetOnEvent andybiochem
Description

If the number of delimited items in the "text" of a ListViewItem is greater than the number of columns in the ListView control itself, the ListViewItem will not respond to a SetOnEvent declaration.

Reproducer:

Opt("GUIOnEventMode", 1)

GUICreate("", 220, 150)

;----- NOT WORKING -----
$ListView1 = GUICtrlCreateListView("Col1|Col2|Col3", 10, 10, 190, 50)
GUICtrlCreateListViewItem("first|second|third|fourth",$ListView1)
GUICtrlSetOnEvent(-1,"_Selected")

;----- WORKING OK -----
$ListView2 = GUICtrlCreateListView("Col1|Col2|Col3|Col4", 10, 70, 190, 50)
GUICtrlCreateListViewItem("first|second|third|fourth",$ListView2)
GUICtrlSetOnEvent(-1,"_Selected")

GUISetState(@SW_SHOW)

While 1
    Sleep(100)
WEnd

Func _Selected()
    ConsoleWrite(@GUI_CtrlId & @CRLF)
EndFunc

... clicking on the top ListViewItem does not call the function set by 'GUICtrlSetOnEvent'.

The second ListViewItem works as it should.

#971 No Bug Func _GetIP() issues autoit@…
Description

The current _GetIP() function found in Inet.au3 uses checkip.dyndns.org and whatismyip.com

You will find that the "whatismyip.com" lookup will always fail.

The _GetIPx() function I have provided proves that it never works.

I have also provided an improved function called _GetIP2().

It makes of a more reliable ip lookup service provided by akamai.com" by default.

It also has the option to specify various other sources. Examples are provided.

  • HM2K
Note: See TracQuery for help on using queries.