Rockwell-automation 9301 Series RSView32 Users Guide Uživatelský manuál Strana 448

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 769
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 447
Animating graphic objects 12–41
With the Invoke command you can:
call an objects method
assign the value returned by a method to a tag
set an object’s property to a tag value or a constant
set a tag to the value of an object property
To call a method on an object:
On the command line or anywhere else that accepts a command, type
the following command:
Invoke file.object.method(parameter1, parameter2,...)
file The name of the graphic display that contains the
ActiveX object.
me can be used instead of file. At runtime it resolves to
the graphic file that currently has focus.
object The name of the ActiveX object as specified
in the Object Name dialog box.
method The name of a function or sub–routine in the
ActiveX object. The method is initiated by an
external event such as the Invoke command.
parameter The tag name or constant that the method will use.
The easiest way to specify the file.object.method(parameter1,
parameter2,...) string for the Invoke command is to use the Command
Wizard.
Zobrazit stránku 447
1 2 ... 443 444 445 446 447 448 449 450 451 452 453 ... 768 769

Komentáře k této Příručce

Žádné komentáře