Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manual de usuario Pagina 55

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 64
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 54
Verification Script Engine Reference Manual
50
_MB_CANCEL
Cancel button was clicked.
_MB_YES
Yes button was clicked.
_MB_NO
No button was clicked.
_MB_RETRY
Retry button was clicked.
_MB_IGNORE
Ignore button was clicked.
_MB_ABORT
Abort button was clicked.
Remark:
This function works only for VS Engines controlled via GUI. For VSEs controlled by
COM/Automation clients it does nothing.
This function "locks" the SierraFC Protocol Suite application which means that there is no access to
other application features until the dialog box is closed. In order to prevent too many MsgBox calls in
case if a script written not correctly VSE keeps track of all function calls demanding user interaction
and doesn't show dialog boxes in case if some customizable limit was exceeded ( returns _MB_OK in
this case ).
( See )
Example:
if( Something )
{
str = "Something happened!!!\nShould we continue?"
result = MsgBox( str ,
_ MB_YESNOCANCEL | _MB_EXCLAMATION,
"Some Title" );
if( result != _MB_YES )
ScriptDone();
… # Go on…
}
Vista de pagina 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 63 64

Comentarios a estos manuales

Sin comentarios