EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 111

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 110
CHAPTER 4: User-Interface Tools Window class 111
Window class functions
Access these function through the class. For example:
Window.alert(“Notification to user”);
alert()
Window.alert (message[, title, errorIcon]);
message
The string for the displayed message.
title
Optional. A string to appear as the title of the dialog, if the platform supports a
title. Mac OS does not support titles for alert dialogs. The default title string is
“Script Alert.
errorIcon
Optional. When true, the platform-standard alert icon is replaced by the
platform-standard error icon in the dialog. Default is false.
Displays a platform-standard dialog containing a short message and an OK button.
Returns
undefined
confirm()
Window.confirm (message[,noAsDflt ,title ]);
message
The string for the displayed message.
noAsDflt
Optional. When true, the No button is the default choice, selected when the user
types E
NTER. Default is false, meaning that Yes is the default choice.
title
Optional. A string to appear as the title of the dialog, if the platform supports a
title. Mac OS does not support titles for confirmation dialogs. The default title
string is “Script Alert.
Displays a platform-standard dialog containing a short message and two buttons labeled Yes and
No.
Returns true if the user clicked Yes, false if the user clicked No.
find()
Window.find (resourceName)
Window.find (type, title)
resourceName
The name of a predefined resource available to JavaScript in the current
application.
type
Optional. The window type (see Window object constructor” on page 112) used if
there is more than one window with the same title. Can be
null or the empty
string.
title
The window title.
Use this method to find an existing window. This includes windows already created by a script, and
windows created by the application (if the application supports this case).
N
OTE: Not supported in all ScriptUI implementations.
Returns a
Window object found or generated from the resource, or null if no such window or
resource exists.
Vista de página 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 303 304

Comentários a estes Manuais

Sem comentários