Aspen Touch Solutions ATM-123R Series Especificações Página 364

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 374
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 363
A-28 Extensibility FAQ
A-28
c. In the Variables of Selected Object matrix, enter the
following:
The Triggers Solve checkbox should be selected or cleared
as appropriate if the calculations affect the extension.
d. Add a Button widget to the EDF. Double-click the Button
widget or right-click and select Button Properties
command from the Object Inspect menu.
e. Change the Label to &About.
f. Double-click on Message field or click on the Ellipsis
icon beside it. Click the Insert button, and select
AboutButton from the Select Message list.
g. Click the OK buttons to close the Select Message property
view, Edit Message property view, and Button Properties
property view.
h. Add the following Public Sub to the unit operation
extension code:
When a variable is changed in the EDF, Sub VariableChanged
is executed if it is present. The Code above checks the Tag of
the variable which was changed, if the tag of the variable is
AboutButton, then the code in the braces is executed.
Custom calculation code is entered between the braces.
Tag Name Type
ActionButton Action Button Message
Public Sub VariableChanged(ByVal VariableName As InternalVariableWrapper)
On Error GoTo ErrorCatch
If VariableName.Tag = "AboutButton" Then
{Enter you code here}
End If
ErrorCatch:
End Sub
Vista de página 363
1 2 ... 359 360 361 362 363 364 365 366 367 368 369 ... 373 374

Comentários a estes Manuais

Sem comentários