| |
|
|
Georg | i want in a Editbox to that example a names prompt. as first character z.B. H then should in a listbox on the first names the with H begins sprang go. moreover give I fortlaufend z.B. e one then should in a listbox on the first names the with hey begins sprang go.
or does it too directly in of/ one Listbox or of/ one Combobox.
becomes the name not found should itself a dialog to Neueingabe open.
How now? |
|
|
| |
|
|
|
Julian Schmidt | is still integrally easy
Windowstyle 24
Window 300,120 - 200,300
var suchstring&=Create("Edit",%hwnd,"",10,10,width(%hwnd)-20,20)
var name_liste&=Create("ListBox", %hwnd, 1, 10, 40, width(%hwnd)-20, height(%hwnd)-50)
AddStrings(name_liste&,"Klaus")
AddStrings(name_liste&,"Peter")
AddStrings(name_liste&,"Susi")
AddStrings(name_liste&,"Heiner")
while 1
waitinput
case getfocus(suchstring&) : Select String(name_liste&,-1,Gettext$(suchstring&))
Endwhile
|
|
|
| |
|
|