Hallo liebe Community,
Ich bastel gerade an einer GUI und bräuchte etwas Hilfe.
Ich benutze die Own-Tab UDF von funkey
Spoiler anzeigen
Local $aTabText[3] = ["MS SQL Server", "Email", "MySQL Server"] ;Declare the regions for the OwnTab-control
Local $aTabIcons[3][2] = [[$icondllpath, 49],[$icondllpath, 44],[$icondllpath, 49]]
Global $aconfig_TAB = _OwnTab_Create($h_Gui, $aTabText, 220, 65, 629, 385, 25, 0xD5D5D5, 0xFFFFFF, 0xFFFFFF, $aTabIcons)
#region ### MSSQL Server ###
_OwnTab_Add($aconfig_TAB) ;Start controls tab1
GUICtrlCreateLabel($as_language[12], 230, 107, 100, 30, -1, -1)
_Controlsetview(-1)
$c_MSSQL_IP = GUICtrlCreateInput("", 340, 100, 170, 30)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $c_MSSQL_IP = ' & $c_MSSQL_IP & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console
Ich erhalte diesen Fehler:
[autoit]@@ Debug(8103) : $c_MSSQL_IP = 0
>Error code: 1
Wenn ich nun das Erstellen des Tabs auskommentiere:
Spoiler anzeigen
Local $aTabText[3] = ["MS SQL Server", "Email", "MySQL Server"] ;Declare the regions for the OwnTab-control
Local $aTabIcons[3][2] = [[$icondllpath, 49],[$icondllpath, 44],[$icondllpath, 49]]
;~ Global $aconfig_TAB = _OwnTab_Create($h_Gui, $aTabText, 220, 65, 629, 385, 25, 0xD5D5D5, 0xFFFFFF, 0xFFFFFF, $aTabIcons)
#region ### MSSQL Server ###
;~ _OwnTab_Add($aconfig_TAB) ;Start controls tab1
GUICtrlCreateLabel($as_language[12], 230, 107, 100, 30, -1, -1)
_Controlsetview(-1)
$c_MSSQL_IP = GUICtrlCreateInput("", 340, 100, 170, 30)
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $c_MSSQL_IP = ' & $c_MSSQL_IP & @CRLF & '>Error code: ' & @error & @CRLF) ;### Debug Console
Erhalte ich keinen Fehler.
Ich weiß nicht woran es liegen könnte, ich kann aber das gesamte Script aus Datenschutzgründen und Länge ( ~10k Zeilen ohne Includes) nicht posten.
Kann sich jemand das erklären / mir helfen?