am trying to achieve a GUI with comboBox with Edit. just like the window below for the VNC Viewer app. saving only 5 records on the list and sending a msg box saying the selection i chose or i wrote. i want to be able either to select from the menu or input my record. also i want to be able in case i entered a record to overwrite the records so it delete the outdated record and replaced it with the new i entered.
I have my simple code but dont know how to use the (ComboBox) and (IniRead, readfile)the on it correctly. maybe anyone can assist me???
Code: Select all
Gui, Add, Text,,Operator Name
Gui, Add, ComboBox, vCB, name1|name2|name3|name4
Gui, Add, Button, Default, Save
Gui, Add, Button, x+10, Close
Gui, Show,,Operator Name
return
ButtonClose:
GuiClose:
ExitApp
ButtonSave:
Gui, Submit, NoHide
FileAppend, %CB%`n, operator.csv
return