mmurgas Posted February 26, 2013 Posted February 26, 2013 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 Quote
mmurgas Posted May 8, 2013 Author Posted May 8, 2013 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 ); Quote
hendrang Posted May 9, 2013 Posted May 9, 2013 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 Quote
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.