troubleshooting Question

Delphi Dual list dialog box

Avatar of elschott
elschott asked on
Delphi
3 Comments2 Solutions1399 ViewsLast Modified:
I have developed a Dual list Dialog box that populates the leftside memo with the column names from a string grid object, what I want to do is when the user has moved the appropriate values to the right and clicked ok I need to be able to determine the column number from the string grid that the selected values come from. I obviously know the column's name but I don't know where this column is located in my string grid. Does anyone have a good suggestion on how I might easily keep track of this if possible.

For example if the column heading is Fruit, I need to know where in the string grid the column with the first row title of 'Fruit' exists for arguments sake let's say this is column number 2 in the string grid. I will then read through the remainder of column 2 to rowcount and perform my calculations.

Thanks

Jake
ASKER CERTIFIED SOLUTION
Cynna

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros