flexdev Posted March 13, 2023 Share Posted March 13, 2023 Hi everyone, what is the correct method to intercept the click on clearbutton in a dblookupcombobox? Thanks in advance Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 15, 2023 Share Posted March 15, 2023 On 3/13/2023 at 11:02 PM, flexdev said: what is the correct method to intercept the click on clearbutton in a dblookupcombobox? Hello, You can use OnSelect event for example. procedure TMainForm.UniDBLookupComboBox1Select(Sender: TObject); begin // if (Sender as TUniDBLookupComboBox).KeyValueStr = '' then //Cleared UniMemo1.Lines.Add('KeyValue = ' + (Sender as TUniDBLookupComboBox).KeyValueStr); end; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.