StringGrid and combo box values passed to TButton.Onclick Event
Posted on 2000-02-15
I have a StringGrid, with four columns. The first column is holding a path (like \\TestMachine) and the second column is holding a file name (like test.exe).
Once the info of the grid is 'saved', you have an option to select different programs that show up in a Combobox (looking at the second column of the grid).
Since each Column 1 may have a different path stored, I need a button, when selected to find the path stored in the correct column number and add that path to the file name found in the combobox, before the application trys to run. I do not want the path to show up in the combo box.
I have this in the ComboBox Drop Down-
with MainForm.ListGrid do begin
I do I search the grid until it finds the file that is now in the ComboBox and append it to the file name?