Link to home
Start Free TrialLog in
Avatar of khsanth
khsanth

asked on

Threads and GUIs

Ok, I'm working on a program to be used by a campground, keeping track of customers, campsites, and reservations. The problem I'm running into is in my code. I have a main GUI that opens at the start of the program, and from there other GUI's can be opened through the toolbar. I'm completely new to threads, and I know I need to use them, but I've had a bit of bad luck finding the information I'm looking for on their use.

One thing that needs to be done is information must be passed between the GUI's. For example, MainGUI is opened at the onset of the program, then the FindEditCustomerGUI is opened. From there, CustomerSearchGUI is opened and a customer is found from the database given the criteria established in the FindEditCustomerGUI and displayed in the table. The customer is selected, and Found Customer button is pressed, and the customer object needs to be sent back to the FindEditCustomerGUI.

I've spent two hours searching for information on how to do this, but have come up with nothing. Any help on how to use threads and how to pass information back and forth would be greatly appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Javatm
Javatm
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of khsanth
khsanth

ASKER

I see what you're getting at. Is there a way to do it with threads?
SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of khsanth

ASKER

Thanks for the prompt replies and for steering me down the right path. I'll have to confer with my group and come up with a new course of action, which means I might be asking more questions later.
http://freewebs.com/cube-j

Always glad to help . . .
Friend : Javatm