How can you write in a TEdit, that is inside a panel, that is the detailcontrol of a TTMSFMXPopup.
When you set the popupMenu DetailControl as the panel, the panel become invisible and you cannot edit the TEdit from inside the popup.
This did work in XE4.
Simple Form With Button, Pannel with TEdit and a TTMSFMXPopup
procedure TForm1.Button1Click(Sender: TObject);
begin
TMSFMXPopup1.ClosePopup;
TMSFMXPopup1.PlacementTarget:=Button1;
TMSFMXPopup1.DetailControl:=panel1;
TMSFMXPopup1.Popup;
end;
There is also a problem with the Detail control if you remove the " TMSFMXPopup1.ClosePopup; " the detail control sometimes goes invisible inside the popup.
Hello Peter, this isn't a solution for this bug. Check this for yourself: use a simple panel with a TEdit and for example a TSpinbox on it. Do popup, select TEdit, fill it with some char, close the popup and do it again. Two times and it's impossible to select the TEdit again or do any input. Because this effect we "killed" the TMSFMXPopup's in our projects and use simple&"save" forms.
The TTMSFMXPopup is based on TPopup and seems to have the same issues. They even removed the ShowActivated property and forced a showmodal in XE5 which requires an additional button to close the popup.