Copyright 2010-2017 Obihai Technology, Inc.
140
<style>, <label>
border
<LineKeyStyles>,
<style>
The default is "0" means no border around the bounding box. "
n
" means
a border of
n
-pixel around the bounding box
bordercolor
<LineKeyStyles>,
<style>
The color of the border to draw around the bounding box of the widget
src
<icon>, <icon2>
Overwrites the icon’s file path or URL
Macors that can be used in a <LineKeyStyles> XML
Macro
Where
Description
$eval
Anywhere
See section heading
$eval()
@id
Anywhere
Line Key Hard Key ID. Exapnds into:
-
1,2,3,4,5 for OBi1022
-
1,2,3 for OBi1032/2062/2162
-
1,2,3,4,5,6 for OBi1062/2182
@p
Anywhere
Line Key Page. Expands into:
-
1,2 for OBi1022
-
1,2,3,4 for OBi1032/1062 and OBi2000 Series
@n
Anywhere
Line Key ID. Expands into:
-
1
–
10 for OBi1022
-
1
–
12 for OBi1032/2062/2162
-
1
–
24 for OBi1062/2182
Example 1: Double Size Line Key Screen Tiles
In this example, the defaut line key <style> doubles the normal size of the Line Key Tiles which is suitable for an
OBi1032 which has just three Hard Line Keys. Below are the parameter settings and a screen shot of the result.
Line Keys
–
Key 1
::
Function
=
Call Appearance
Line Keys
–
Key 2
::
Function
=
Call Appearance
Line Keys
–
Key 3
::
Function
=
Call Appearance
Line Key Customization
–
Call Appearance
::
Enable
=
true
(checked)
Line Key Customization
–
Call Appearane
::
TextLine1
=
@id:@p:@n
Line Key Customization
–
Call Appearane
::
TextLine2
= (blank)
Screen Item Customization
::
LineKeyStyles
=
<LineKeyStyles ypos='$eval((((@n-1)%3)*68)+2)' height='64'>
<style id='default'>
<text1 xpos='0' align='left'/>
</style>
</LineKeyStyles>