Contents
Navigation
Home User Reference Other Resources


This class allows you to be notified about the events occurring during the playback of data performed by an instance of a object. You should adopt the new approach instead of the older (and deprecated) one based onto a passed to the instance.







The QTPlgDataPresentationControl class constructors are called when you create a new instance of the class, while the ˜QTPlgComponentServiceControl class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.

The class provides you with the following initializer methods:

()
use this constructor version to create an instance of the class with all of the properties set to empty values. If you use this class directly on to the RealStudio IDE the default constructor will be automatically invoked

allows to get or set the data player currently in use. Note that the class stores just a reference to the object passed into this property; it is up to you to dispose of it when you have done. To remove the reference currently in use, simply set this property to nil

()
the playback of the data has began
()
a task has been successfully executed. The uid parameter specifies the service instance that has sent the event
(time as double)
the player of data has been . The time parameter specifies the actual time of the presentation; this is the same value you obtain by inspecting the property of the class
()
a frame has been drawed into the specified destination (see the class to find about more details about available destinations for drawing). Of course, this event will be generated from classes belonging to the sub hierarchy
()
the presentation has entered in fullscreen mode. Of course, this event will be generated from classes belonging to the sub hierarchy
()
the presentation has exited from fullscreen mode. Of course, this event will be generated from classes belonging to the sub hierarchy
(key as string)
a keyboard key has been pressed during a fullscreen session. The value of the key parameter is a cross–platform string that represents the pressed key; the value of this parameter can be one of the following (without quotes):
  • "ESC": represents the escape key
  • "PAGEUP": represents the page up key
  • "PAGEDOWN": represents the page down key
  • "LEFT": represents the left arrow key
  • "RIGHT": represents the right arrow key
  • "SPACE": represents the space bar key
For the effects of the above keys see the description of the method of the class. Of course, this event will be generated from classes belonging to the sub hierarchy
(percentDone as double,err as integer)
a conversion task is in progress. The percentDone parameter specifies how far the operation has progressed; its value is always between 0.0 and 1.0. Of course, this event will be generated from classes that feature some kind of conversion (at time, only classes belonging to the sub hierarchy can convert their data into a movie)