Detail  
 
In addition to the pre-defined Textbox Components, designers can also add any number of Generic Textbox Components to a Pollstar100 Application. Generic Textbox Components can be used to enrich the UI with static text content. They may also be used as a means to display external JPG images or Flash SWF Movieclips.  
 
 
 
 
Custom XML Tag  
 
Use the following XML tag to define a Generic Textbox Component within your Custom XML file:  
 
 
<GenericTextbox />  
 
 
 



Common Properties  

Generic Textbox Components inherit the following common Textbox Properties:
 
Component Visibility Properties  
Location Properties  
Margins Properties  
Text Properties  
Text Rotation Properties
Image Properties
Opacity Properties




Specialised Properties

Generic Textbox Components
also inherit the following specialised Properties:
 
Unique ID  
Use this Property to assign a unique identifier to the generic Component.  
 
HTML Text  
Use this Property to specify whether the text data is plain-text or supports HTML format.  
 
CSS File  
Use this Property to specify the location of an external CSS File used to format this Components' text data.  
 
File Based Text
Use this Property to specify that the text data for this Component is contained within an external file.


 
 
Default Property Values  
 
The following default Property values are defined for Generic Textbox Components:
 
 
Property Name
Default Value
Visible
true
X
undefined
Y
undefined
Width
undefined
Height
undefined
Margins
0, 0, 0, 0
TextFromFile
false
Text
read me
TextHTML
true
TextFont
Times New Roman
TextAlign
left
TextColour
0
TextSize
12
TextItalic
false
TextBold
false
TextUnderline
false
TextBorder
false
TextRotation
0
CSSFile
undefined
Image
default
Opacity
100
BorderRadius
0, 0, 0, 0
BorderColour
0
BorderWeight
0
Colours
undefined
UniqueID
undefined
 




Related Topics  
 
Using Generic Components To Extend the UI