Hallo zusammen
ich "teste" im Moment ein Beispielfunktion ==> _GUICtrlListView_GetColumnCount.au3
Ich habe mit Dim eineVariable hinzugefügt.
Wenn ich CTRL+F5 drücke bekomme ich folgenden Warnhinweis
WARNING: 'Dim' deprecated as declaration. Prefer to use Local or Global.
[autoit]#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiConstantsEx.au3>
#include <GuiListView.au3>
Dim $var1 ; neu hinzugefügt
[/autoit][autoit][/autoit][autoit]$Debug_LV = False ; Check ClassName being passed to ListView functions, set to True and use a handle to another control to see it work
_Main()
Func _Main()
Local $hListView
GUICreate("ListView Get Column Count", 400, 300)
$hListView = GUICtrlCreateListView("col1|col2|col3", 2, 2, 394, 268)
GUISetState()
$var1 = _GUICtrlListView_GetColumnCount($hListView)
MsgBox(0,"Variable $var1: ",$var1)
MsgBox(4160, "Information", "Column Count: " & _GUICtrlListView_GetColumnCount($hListView))
; Loop until user exits
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
GUIDelete()
EndFunc ;==>_Main
Soll bei der Deklarierung von Variablen Dim nicht mehr verwendet werden?
MfG
johny1099