Jump to content

Recommended Posts

Posted

My question is with a UniScreenMask ... I want to use it after asking the user if they are sure to make a trade, but leave the dialog mesagge screenmask takes me ...

 

steps

1. MessageDlg ('Are you sure?', MtConfirmation, mbYesNo, OkSave);

2. UniScreenMask1 ....

3. ShowMessage ('The recording is ok');

 

Thank you in advance

 

mmurgas


 

 

-----------------------------------------------------------------------------

Mi consulta a es con un UniScreenMask ... lo quiero usar después de preguntarle al usuario si esta seguro de hacer una operación, pero al salir el mensaje de dialogo me saca el screenmask...

 

pasos

1.  MessageDlg('¿Estas seguro ?', mtConfirmation, mbYesNo, OkSave);

2 . UniScreenMask1

3. showmessage('La grabación esta ok');

 

de antemano, Gracias

 

mmurgas
  • 2 months later...
Posted

I answer to myself

 

 
MessageDlg('mbYesNo', mtConfirmation, mbYesNo,
    procedure(Res: Integer)
    begin
      case Res of
        mrYes : UniMemo1.Lines.Add('DResult: YES');
        mrNo : UniMemo1.Lines.Add('DResult: NO');
        mrOK : UniMemo1.Lines.Add('DResult: OK');
        mrCancel : UniMemo1.Lines.Add('DResult: CANCEL');
      end;
    end
  );

Posted

 

I answer to myself

 

 
MessageDlg('mbYesNo', mtConfirmation, mbYesNo,
    procedure(Res: Integer)
    begin
      case Res of
        mrYes : UniMemo1.Lines.Add('DResult: YES');
        mrNo : UniMemo1.Lines.Add('DResult: NO');
        mrOK : UniMemo1.Lines.Add('DResult: OK');
        mrCancel : UniMemo1.Lines.Add('DResult: CANCEL');
      end;
    end
  );

 

Hi,

 

can your program show screenmask only after clicking the message dialogs box ?

 

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...