Frederick Posted November 8, 2019 Share Posted November 8, 2019 I would like to select the entire text content of the TUniDBLookupComboBox when it is set focused to. Since there is no SelectOnFocus property, how do I do this? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1513) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 8, 2019 Share Posted November 8, 2019 1 hour ago, Frederick said: I would like to select the entire text content of the TUniDBLookupComboBox when it is set focused to. Since there is no SelectOnFocus property, how do I do this? Try this: procedure TMainForm.UniFormCreate(Sender: TObject); begin ... TUniDBComboBox(UniDBLookupComboBox1).SelectOnFocus := True; ... end; Quote Link to comment Share on other sites More sharing options...
Frederick Posted November 8, 2019 Author Share Posted November 8, 2019 Thanks. The code works. Are you planning to add a SelectOnFocus property for TUniDBLookupComboBox that can be set from the object inspector? BTW, are there SelectOnFocus equivalents for TUniDBDateTimePicker and TUniDateTimePicker? 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.