Objects – properties description, Abstract objects, Backgroundobject a – CUE Design Director Script Language User Manual

Page 21

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 21 of 94

3. Objects – properties description

The objects are divided into the following groups:

1. Abstract – there are such objects which the real objects are inherited from and they alone do

not have any instance (except from the rule). Such abstract object that has an instance is i.e.
IdentificationObjectA at the button – the button (i.e. ButtonObject object) does not inherit from it,
but the IndetificationObjectA object is the value of its property.

2. Application – there are such objects whose instances have been created in the design

environment i.e. window, panel, picture or font. Most of their properties are inherited from
abstract objects.

3. System – it is the fixed part of the virtual world of the designed panels. The objects do not have

any events, but on the other hand they define all methods and properties of the outside world.

3.1. Abstract objects

Abstract objects apart from exceptions are the part of the bigger object through the inheritance
mechanism. Exceptions deal with a case when the object is an abstract type of the object property. If
they are a part created through the inheritance mechanism, they can be directly retyped to a bigger
object. To distinguish their names, all their names end with the letter A.

3.1.1.

BackGroundObject A

An object inherits from the object BitmapObjectA. It contains:

Property

Type

Description

BackColor

ColorObject

Background color. Reference to a real color object or to
NoObject, if not filled then the color is transparent. The object
of the color can be the part of the palette which has been
defined in the design environment.

Bitmap

BitmapObject

Reference to the real picture object or to NoObject, if not filled.

BtmHOri

uint

The picture horizontal orientation. The values are defined
0..left, 1..middle, 2..right, 3..tile (i.e. it repeats) To insert a
different values is not checked, what will appear is not defined.

BtmVOri

uint

The picture vertical orientation. The values are defined 0..up,
1..middle, 2..down, 3..tile (i.e. it repeats) To insert a different
values is not checked, what will appear is not defined.

Event

Parameters

Description

OnSetBitmap ParamByVal Prev BitmapObject The event is called immediately after when someone changes

the Bitmap object property. The event is dedicated i.e. for the
change of the object size based on the object size.

Advertising