Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleTable of Contents
Table of Contents

...

The x and y integers specify the position of the ticker widget (via the top-left corner), while the  w and h integers specify the size of the widget. The rotation parameter accepts the following values (rotation is counter-clockwise from landscape mode):

0: 0 degrees

90: 90 degrees

180: 180 degrees

270: 270 degrees

The rotation parameter only affects the text inside the ticker; it does not alter the screen coordinates of the widget itself. If you are creating a vertical ticker or rotating the ticker to match portrait-mode HTML content, you will need to use the x, y, w, h  coordinate parameters to match the rotation of the text.

Methods

boolean SetRectangle(in unsigned long x, in unsigned long y, in unsigned long w, in unsigned long h)

...

The following example diagram and code snippets specify a multiscreen display with two monitors. The width of each monitor is 1024 pixels, while the width of each ticker is 768 pixels:

...

Events

...

bsTicker.ontickerstringremoved

This event handler is triggered when a string has been removed and is no longer visible. The event contains the string_id property, which is returned by a successful AddString() call.

...