adding/taking info from types

BlitzMax Forums/BlitzMax Programming/adding/taking info from types

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I'm kicking myself for this but I have been away from coding for awhile and just recently decided to try and write a very basic application for myself. I need have an app that adds a users name and email to a list box but I want to only show the name and when I click on the users name I can pull up info on the name and email address. I figured a type would work where I would just use:
Type User
Field Name
Field Email
End Type

Problem is how do I link both fields together so name/email is linked together and then once I do that how do I pull the info from each selected field.