The code below gives an AV on IsOpen := False in Android. After replacings it with ClosePopUp it's working fine.
procedure TTMSFNCTaskDialogForm.BtnClickHandler(Sender: TObject);
begin
ModalResult := (Sender as TTMSFNCCustomTaskDialogButton).Tag;
if Assigned(FTaskDialog) then
begin
if Assigned(FTaskDialog.OnDialogButtonClick) then
FTaskDialog.OnDialogButtonClick(FTaskDialog, (Sender as TTMSFNCCustomTaskDialogButton).Tag);
DoResult(ModalResult);
end;
What are your steps to reproduce this? Do you just drop the component onto the form or do you create it programmatically? Which IDE and Android version are you using?