|
| |
A Banner object is used to display a scrolling banner message

The lower the value of speed, the faster the message scrolls.
Note in this example an oTimer was configured to perform a !POBJ
Update instruction every second to update the object.

 | Creating:
oBanner.objName=L,T
[,W,H,text,font size,back color, text color, speed]
!POBJ oBanner.ban1=5,40,,,Hello World!,,,2
Use no commas in the text string.
|
 | Functions:
SET Value (.Set or omitted)
!Pobj objName=[text,back
color, text color, speed]
!POBJ Ban1=Good bye!
Use no commas in the text.
Text Tip (.Tip)
Sets the text pop-up tip
!POBJ objName.Tip=Text string
!POBJ Butn2.Tip=This is a tip!
Font (.Font or .F)
Sets the font of the object
!POBJ objName.Font=[Font name,size,italic (0/1),bold (0/1)]
Move (.Move or .M)
Moves the object to new coordinates/changes sizing
!POBJ objName.Move=[L,T,W,H] or !POBJ objName.M=[L,T,W,H]
!POBJ label1.M=50,50,,10
|
 | Update Value (.Update or .U)
Sets the value which will be used to update the object when ever a !POBJ
Update is performed.
!POBJ obj.Name.U=[text]
!POBJ ban1.U=The date is.... (DATE)
|
 | Code Event - (.C or .Code)
None
|
 | Values
(objName) - Value of banner text.
(objName.T) - Top coordinate
(objName.L) - Left coordinate
(objName.W) - Width
(objName.H) - Height
(ME) - Used only in its event code, returns object name.
((ME)) - Used only in its event code, returns object value.
|
|