Fieldpine Logo Documentation Home  

User Interface Elements

User Interface files define how the selling screens should appear and operate. There are two main types of screens UI files which provide the basis for the main structure and menu system and XML screens which are designed for popup style windows to capture specific information. Most of the controls below can be used on either screen type, although some are only available on one screen type.

Examples of different User Interfaces and what you can do is in the User Interface Gallery


Commonly Used Elements

Window

Defines the major attributes of a window/screen, such as size, position, color. Every screen or subscreen requires a window directive

Browser

Places a web browser on the screen and allows POS Script to control the output

Salelist

Places list on the screen to display the users items being purchased

Button

Draws a button on the screen that user can press to cause an action

Total

Creates "totals" on screen that dynamically react to the state of the sale. Eg total sale, total still to pay.

LED, Entry Box

Places a box on screen that captures all keystrokes and reacts at various times to add products to the sale

Key and Keystr

Defines keystroke definitions, both single key and multi key

Text

Places text on screens

More Elements

buttongen

capture

Combo

Draw a drop down selector (aka combo control) and load values into it.
XML Screens only

event

fileedit

grid

group

iconbar

Indicator

Displays various indicator colours, words and icons to show POS state

list

movie

picture

salerail

sff

shape

tree


UI Files Structure

button
define 
	at(415,470,485,527) keys(+Dd) legend(label(D) at(5,5) font(arial,14))
	label(Discount) multiline brgb(255,255,0) font(arial,14,bold)

execute setting(POSLane) = 1
	discount(select)
execute setting(POSLane) <> 1
	message(99,2,Please use Lane 1 for discounts)
end