I have a TComboEdit in a FireMonkey application.
In VCL I could do something like this:
SendMessage(myComboEdit.Handle, CB_SHOWDROPDOWN, 1, 0);
Of course, messaging in FMX works differently than in VCL so this trick appears not to work under FMX. (i.e., it's not exposed to us).
How can I coax my TCombiEdit to show the drop down?
To show the dropdown of a TComboEdit
control you can use the DropDown
method like this
ComboEdit1.DropDown;
or send a PM_DROPDOWN
message using the SendMessage
method of the model.
ComboEdit1.Model.SendMessage(PM_DROPDOWN);