Detail

Generic Control Components provide a designer with the means to enrich a Pollstar100 Application by embedding within it, pushbutton-style URLs. For example, "Buy Now" or "Download" buttons. Custom-defined JPG or SWF Movieclip resources can be provided for mouse-over, mouse-up, and mouse-down events relating to a specific Generic Control Component.  
 
 
 
Custom XML Tag  
 
Use the following XML tag to define a Generic Control Component within your Custom XML file:  
 
 
<GenericControl />  
 
 
 
 
 
Common Properties  
 
Generic Control Components inherit the following common Properties:  
 
Component Visibility Properties  
Use this Property to exclude a Generic Control from the UI.  
 
Location Properties  
Use these Properties to specify the size and location of a Generic Control within the UI.  
 
Margins Properties  
Use these Properties to set the left, right, top and bottom margins within which any text data is displayed.  
 
Text Properties  
Use these Properties in order to set and format text data for a Generic Control.  
 
Image Properties  
Control Image Properties  
Use these Properties in order to define images for a Generic Control.  
 
Opacity Properties  
Use this Property to set the Component image opacity.  
 
 
 
 
Specialised Properties

Generic Control Components inherit the following specialised Properties:
 
Unique ID  
Use this Property to assign a unique identifier to the Generic Component.  
 
URL  
Use this Property to define a URL for the Generic Control Component.  
 
URL Target  
Use this Property to specify the type of browser window that is used to display a generic control related URL.  
 
 
 
 
Default Property Values  
 
The following default Property values are defined for the Generic Control Components:
 
 
Property Name
Default Value
Visible
true
X
undefined
Y
undefined
Width
undefined
Height
undefined
Margins
0, 0, 0, 0
Text
click me
TextFont
Times New Roman
TextAlign
center
TextColour
0
TextSize
12
TextItalic
false
TextBold
false
TextUnderline
false
TextBorder
false
Image
default
ImageUp
undefined
ImageDown
undefined
ImageOver
undefined
Opacity
100
BorderRadius
0, 0, 0, 0
BorderColour
0
BorderWeight
1
Colours
undefined
UniqueID
undefined
URL
undefined
URLTarget
_blank
 

 
 
Related Topics  
 
Using Generic Components To Extend the UI