ITT Rule IDL Version 7.0 Manual de usuario Pagina 289

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 288
Chapter 12: Using iTool User Interface Elements 289
iTool Developer’s Guide Prompts
Prompts
Prompts solicit information from the user. Prompts are generally presented as modal
dialogs, meaning that the user must respond to the prompt before operation of the
iTool can continue.
The IDLitIMessaging class provides two methods that prompt for user input:
PromptUserYesNo and PromptUserText. See “IDLitIMessaging” (IDL Reference
Guide) for additional details on these methods.
PromptUserYesNo
The IDLitIMessaging::PromptUserYesNo method displays a prompt string along
with Yes and No buttons. In the standard iTool interface created using the IDL
widget toolkit, Yes/No prompts appear as modal dialogs as shown in Figure 12-2.
Note
The PromptUserYesNo function returns 1 if the dialog executed properly. You
must check the value stored in the variable specified as the Answer argument to
determine which button the user pressed.
The following code asks the user a Yes or No question and performs some action if
the dialog returns properly and the value of the returned variable
answer is equal to
1 (as would be the case if the user clicked Yes) :
status = self->PromptUserYesNo('Overwrite Variable: Plot_Y?', $
answer, TITLE='Overwrite Variable?')
IF (status NE 0 && answer EQ 1) THEN BEGIN
; do something...
ENDIF
The value of the TITLE keyword is displayed in the title bar of the dialog box.
Figure 12-2: Yes/No and Text Prompt dialogs.
Vista de pagina 288
1 2 ... 284 285 286 287 288 289 290 291 292 293 294 ... 429 430

Comentarios a estos manuales

Sin comentarios

Flowserve 51 Series manuals

Owner’s manuals and user’s guides for Hardware Flowserve 51 Series.
We providing 1 pdf manuals Flowserve 51 Series for download free by document types: User Manual






More products and manuals for Hardware Flowserve

Models Document Type
TX2 Triple Offset High Performance Butterfly Valve User Manual   Flowserve TX2 Triple Offset High Performance Butterfly Valve IOM User Manual, 26 pages
BTV 2000 Lined Butterfly Valve User Manual   Flowserve BTV 2000 Lined Butterfly Valve User Manual, 20 pages
Valtek Tek-Check User Manual   Flowserve Valtek Tek-Check User Manual, 4 pages
F53 Series Flanged DIN Reduced Bore Ball Valve User Manual   Flowserve F53 Series Flanged DIN Reduced Bore Ball Valve User Manual, 2 pages
Desuperheaters User Manual   Flowserve Desuperheaters User Manual, 20 pages
T4E Durco Lined Plug Valve IOM User Manual   Flowserve T4E Durco Lined Plug Valve IOM User Manual, 15 pages
B18 Series Multi-way Valve User Manual   Flowserve B18 Series Multi-way Valve User Manual, 2 pages
CL94 Series Three-Piece Chlorine Ball Valve 1/2-2 User Manual   Flowserve CL94 Series Three-Piece Chlorine Ball Valve 1/2-2 User Manual, 8 pages
PMV W Series Switchbox User Manual   Flowserve PMV W Series Switchbox User Manual, 2 pages
Logix 1200e LGAIM0044 User Manual   Flowserve Logix 1200e LGAIM0044 User Manual, 45 pages
PMV P3 User Manual   Flowserve PMV P3 User Manual, 24 pages
Noble Alloy Swing Check IOM User Manual   Flowserve Noble Alloy Swing Check IOM User Manual, 7 pages
AKH3 Atomac Lined Ball Valve IOM User Manual   Flowserve AKH3 Atomac Lined Ball Valve IOM User Manual, 23 pages
608 Series Ball Valve User Manual   Flowserve 608 Series Ball Valve User Manual, 5 pages
Noble Alloy Piston Check IOM User Manual   Flowserve Noble Alloy Piston Check IOM User Manual, 6 pages
AKH2 IOM Atomac Lined Ball Valve IOM User Manual   Flowserve AKH2 IOM Atomac Lined Ball Valve IOM User Manual, 29 pages
Noble Alloy Ball Valve IOM User Manual   Flowserve Noble Alloy Ball Valve IOM User Manual, 20 pages
RG Series Standard Actuator User Manual   Flowserve RG Series Standard Actuator User Manual, 12 pages
TSQVIOM Durco Mach 1 Severe Service Valve IOM User Manual   Flowserve TSQVIOM Durco Mach 1 Severe Service Valve IOM User Manual, 12 pages
RG Series Standard Actuator Jackscrew Override User Manual   Flowserve RG Series Standard Actuator Jackscrew Override User Manual, 12 pages