jason121 Posted August 6, 2012 Report Posted August 6, 2012 Hi, i am making a program that reads AI traffic information. I have a listbox that displays the Airline & Flight number of each AI Flight in the area. I have a button that when clicked I would like a msgbox to display and show more information about that one AI flight that was selected in the listbox. How do i do that? Please help! Listbox Code: Me.ListBox1.Items.Clear()For Each Plane As AIPlaneInfo In FSUIPCConnection.AITrafficServices.AllTraffic Me.ListBox1.Items.Add(Plane.ATCIdentifier & " (" & Plane.State.ToString() & ") " & Plane.DepartureICAO & " -> " & Plane.DestinationICAO) Label1.Text = "AI Radar (" & ListBox1.Items.Count & " total AI Flights)" Next Plane[/CODE]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now