ITT Rule IDL Version 7.0 Instrukcja Użytkownika Strona 102

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 430
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 101
102 Chapter 5: Creating an iTool
Registering a New Tool Class iTool Developers Guide
Example
Suppose you have an iTool class definition file named myTool__define.pro,
located in a directory included in IDLs !PATH system variable. Register this class
with the iTool system with the following command:
ITREGISTER, 'My First Tool', 'myTool'
Tools defined by the myTool class definition file can now be created by the iTool
system by specifying the tool name
My First Tool. In most cases, this command
would be included in the launch routine for the
myTool iTool, but the call can be
placed in any code that is executed before the first instance of the iTool is created.
Przeglądanie stron 101
1 2 ... 97 98 99 100 101 102 103 104 105 106 107 ... 429 430

Komentarze do niniejszej Instrukcji

Brak uwag