ITT Rule IDL Version 7.0 Manual de usuario Pagina 303

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 302
Chapter 13: Creating a User Interface Service 303
iTool Developer’s Guide Registering a UI Service
Example
Suppose you have a UI service definition file named myUIService.pro, located in
a directory included in IDLs !PATH system variable. Register this service with the
iTool system with the following command:
ITREGISTER, 'My UI Service', 'myUIService', /UI_SERVICE
The user interface service can now be invoked via the DoUIService method:
success = oTool->DoUIService('My UI Service', self)
where oTool is an object reference to the current iTool object.
Using the RegisterUIService Method
User interface services can also be registered by a call to the RegisterUIService
method of the IDLitUI object:
self->RegisterUIService, 'My UI Service', 'myUIService'
Note
In most cases, you do not have a reference to the IDLitUI object available, so this
method is not generally useful. We mention it here because the user interface
services registered for use by the standard iTools are registered in this way, rather
than via the ITREGISTER procedure.
Vista de pagina 302
1 2 ... 298 299 300 301 302 303 304 305 306 307 308 ... 429 430

Comentarios a estos manuales

Sin comentarios