Hey leute,
ich habe ein Liste in dieser soll der inhalt einer .txt datei angezeigt werden...
Jedoch soll man trozdem noch selber etwas eintragen können ohne das dies gespeichert wird...
Das mit dem eintragen ohne speicheren habe ich hin bekommen nur das einlesen der .txt datei nicht...
Hier eine kleine demo (Nicht der Original Code)
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <File.au3>
Global $links[1]
_FileReadToArray(@DesktopDir & "\links.txt", $links)
$Form3 = GUICreate("Form1", 405, 296, 302, 218)
$List1 = GUICtrlCreateList("", 16, 8, 185, 266)
$Button1 = GUICtrlCreateButton("Öffnen", 216, 16, 115, 25)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Wie bekomme ich es hin das eine Liste immer eingelesen wird ohne das man diese öffnen muss oder auch mit dem Öffnen button?