popup menu

hello everyone i’m a newbie in xojo i created a sample user account and it’s connected to the database i created. i’m stuck in the edit window coz i want to happen that once i click the edit button it will display the current account type of the user name in my case it only display the current username and its password but the the account type no display.

when You populate listbox, add to account type cell a CellTag, and put there popupmenu.listindex.


And when You click Edit, You can read CellTag and say popupmenu.listindex = .