Telegram_2020-02-11T09

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 02 > 11 >

Telegram_2020-02-11T09

Telegram link

 

2020-02-11T09:33:37

 

Bingo! Thank you for spoon feeding me; events have been a dark horse for me. You have taught me something!

 


 

Telegram link

 

2020-02-11T09:34:38

 

Glad to help!

 


 

Telegram link

 

2020-02-11T09:40:26

 

What remains is returning the SelectedValue for each LookupComboBox. What I have done to test is just returning the same message in hostform

 


 

Telegram link

 

2020-02-11T09:48:10

 

Based on the previous example:

 

procedure THostForm.FrameSelectionChanged(Sender: TObject);

 

var

 

LComboBoxXSelection: string;

 

LComboBoxYSelection: string;

 

begin

 

.

 

LComboBoxXSelection := FFrame.ComboBoxX.SelectedText;

 

LComboBoxYSelection := FFrame.ComboBoxY.SelectedText;

 

// update Grid using data from LComboBoxXSelection and LComboBoxYSelection

 

.

 

end;

 

If this is not what you need then please show us your host form's event

 


 

Telegram link

 

2020-02-11T09:56:57

 

I am so close I think; the IWDBGrid returns data selected on SelectedValue returned by each LookupComboBox. I just need to get the Sender’s SelectedValue and based my selection on it