MSM-Workstation
Components

Long List

The Long List component offers a facility to select a value from a pre-defined set of possible values.
Clich here for an overview of the differences and similarities between the various components that provide selection list and input box capabilities.

The Long List is designed to manipulate a larger number of entries than the standard list box. Controls are supplied at the side of the long list box for moving up and down the list in small and large steps.

The long list also allows multiple selections from the items listed.

Hint: If the list of possible values is "only two possible values", a Check Box might be preferrable. When the list is up to five, the Radio Button is probably the best approach. Up to a couple of dozen, the List Box or Drop Down List is the best way, and if the list is even longer, the Long List Box is to be preferred.

The events that are recognized for components of the type LongList are: Choose, Create, Destroy, Enter, Exit, Scroll, change, dblClick, deselect, goBottom, goDown, goDownBig, goTop, goUp, goUpBig, gotFocus, help, lostFocus and select.

The default property for a long list is Value.

The property list for a long list is:

Property Name
(MSM-Workstation)
Property Name
(MWAPI)
Default ValueValue Range
ActiveACTIVE Boolean value
BackColorBCOLOR Color
CancelCANCEL Boolean value
ChangedCHANGED Boolean value
ChoiceField  Field
ChoiceVar  Field
Container  Free text
DataField  Field
DisplayOnlyCANCHANGE Boolean value
FontBoldFSTYLE Boolean value
FontFaceFFACE Font face
FontItalicFSTYLE Boolean value
FontSizeFSIZE Font size
FontUlineFSTYLE Boolean value
ForeColorFCOLOR Color
MaxSelectSELECTMAX Positive integer numeric value
MessageZMESSAGE Free text
Name  Name of component (current window)
NextControlNEXTG Name of component
PointerPTYPE Pointer (extended)
PosLeftPOS Positive numeric value
PosTopPOS Positive numeric value
PosUnitsPOS Unit Specification
ScrollMaxSCROLLRANGE Positive numeric value
ScrollMinSCROLLRANGE Positive numeric value
ScrollPositionSCROLLPOS Positive numeric value
SizeHeightSIZE40Positive numeric value
SizeUnitsSIZE Unit Specification
SizeWidthSIZE40Positive numeric value
TBackColorTBCOLOR Color
TFontBoldTFSTYLE Boolean value
TFontFaceTFFACE Font face
TFontItalicTFSTYLE Boolean value
TFontSizeTFSIZE Font size
TFontUlineTFSTYLE Boolean value
TForeColorTFCOLOR Color
TabStopsZTABSTOPS Tabulator stops
TitleTITLE[Title]Free text
TitlePosTPOS Title position
TopRowTOPSHOW Item in list of choices
TypeTYPELONGLISTType of component
UnitsUNITS Unit Specification
ValueVALUE  
VarName  Name of variable
VarPermanent  Boolean value
VisibleVISIBLE Boolean value

Go back to the alphabetic list of components.