Hallo zusammen und einen guten Morgen,
ich stehe im Augenblick ein wenig ratlos mit meinem Problem in der Gegend.
Ich finde keine gescheite Lösung für das 'Problem', daher meine Anfrage:
Wie gelingt es mir Listbox Einträge die in sich das '|' (pipe) Zeichen beinhalten zu erzeugen, also in etwa so etwas: ".+\.(txt|TXT)".
Habe mal ein Bsp-Script eingehängt
Spoiler anzeigen
#include <GUIConstantsEx.au3>
cdeListbox()
Func cdeListbox()
Local $msg
GUICreate("My GUI combo") ; will create a dialog box that when displayed is centered
$pattern = ".+\.(nsf|ntf|NSF|NTF)"
GUICtrlCreateCombo("*.*", 10, 10) ; create first item
GUICtrlSetData(-1, $pattern & '|item1|item2|item3', 'item3') ; add other item and set a new default
GUISetState()
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
EndFunc ;==>cdeListbox
Danke schon mal im voraus
mfg
UGT100