Skip to main content
Version: 11.0

Property reference

note

This article contains Property Reference information for making property calls in the USoft Action Language.

Property Reference

In the USoft Action Language, to set a Background Color property to 'red’, you need to make a call of this type:

MyPersonsWindow.background( red )

To do that, you need to know the internal property name of the property you want to set or get. In the example, 'background’ is the internal property name.

In some cases, you also need to know what are allowed values that you can set a property to.

Internal property names

This table allows you to lookup internal property names on the basis of the property name as displayed in the Property Inspector tool of USoft Windows Designer.

Windows Designer property nameInternal property name
Actioncallback
Actions at Startupexe
Adjust ChangeadaptChangeCallback
Alignmentalignment
Allow  NeighborallowNeighbour
Allow Open QueryallowOpenQuery
Alternative Input FormatalternateInputFormat
Auto-commitautoCommit
Auto-TabautomaticTab
Auto-Resizeresize
Background Colorbackground
Border ColorborderColor
Border TypeborderType
Border WidthborderWidth
Buffer HeightbufferHeight
Button TypefocusType
Captioncaption
Chart Size (% Of Field)percOfWindow
Check Count QuerycheckCountQuery
Check ListcheckEnumsExclusive
Child NodeschildTypes
Clientclient
Client EdgeclientEdge
Column AlignmentcolumnAlignment
Column Manager ClasscolumnManagerClass
Context HelpcontextHelp
Create on DemandonDemandCreation
Current Line ColorcursorLineColor
Data Alignmentjustify
Data LengthdataLengt
Default BinddefaultBind
Default ValuedefValue
Deletabledeletable
Detail Joined ColumnsjoinColumnsInDetail
Dialog Startup ActionsstartUp
Dsplay All Subtype IndicatorsdisplaySubtypeIndicators
Display ClassdisplayClass
Display Foreign KeydisplayForeignKey
Display LengthdisplayLength
Display Textecho
Display TypefDatatype
Displayeddisplayed
Double-click ActionacceptCallback
Echoecho
Edit actioneditaction
Edit ModeeditType
Expand TreefullExpand
Expansion LevelexpandLevel
Extra Width for LabellabelExtraWidth
Fast Openresident
Fast-Open PriorityresidentPriority
Fix Column on Displayfixed
Fixed LengthfixedLength
Floor On MinimumfloorOnMinimum
Foreground Bitmapbitmap
Foreign Key ColourforeignKeyColor
Generate ListgenerateEnums
Groupgroup
Group Border TitlegroupTitle
Group Border Title JustifygroupTitleJustify
Heightheight
Height of Internal BufferbufferHeight
Help FilehelpFile
Help PopuphelpPopup
Help Topic IDcontextId
Highlight Current FieldhighlightCursorField
Highlight Current RecordhighlightCursorLine
Highlight ThicknesshighlightThickness
Horizontal Cell MargincellMarginHorizontal
Horizontal DistancehorizDistance
Horizontal ScrollbarscrollHorizontal
Horizontal SpacingspacingHorizontal
Iconiciconic
Imageicon
Implement Scrollbarscroll
Include Subtype PresentationsshowSubtypes
Initial Valuevalue
Input AllowedinputAllowed
Insertableinsertable
Internal HeightinternalHeight
Internal WidthinternalWidth
IO Formatioformat
Joined Columnscolumns
Labellabel
Label Positionjustify
Label RotationlabelRotation
Label TypedataLabelType
Line ColorlineColor
Line StylelineStyle
Lock Parent On SequencelockParentOnSeqno
Lookup actionlookupaction
Mandatorymandatory
Max Character WidthuseMaxCharWidth
Max HeightmaxHeight
Max No of Records per FetchmaxRows
Max WidthmaxWidth
Maximize ButtonmaximizeBox
Maximizedmaximize
Maximum No of Resident WindowsmaxResidents
MDI ChildmdiChild
Menu PagemenuPage
Minimize ButtonminimizeBox
Minimizedminimize
Minimum Heightheight
Minimum Widthwidth
Mnemonicmnemonic
Modalmodal
Mouse Pointer Shapecursor
No ActionnoAction
No of DecimalslengthAfterPeriod
No of Records DisplayeddisplayHeight
No of Records Displayed
(secondary info boxes)
displayHeightType
Node-specific MenususeTypeMenu
(NULL) PromptnullPrompt
Number of Columns in UpdatesnumberOfUpdateColumns
Object NameobjectName
On ChangedisplayChangedCallback
On Database ErrorrdbmsErrorCallback
On Empty WindowonEmptyWindow
Open Only OnceopenOnlyOnce
Optimize Joined Column FetchjoinedColumnsInMain
Oracle ROWIDhasRowid
Order Byorderby
Orientationorientation
Overlay ConditionoverlayCondition
Overlay ImageselectionOverlay
Page TitlegroupTitle
PatternbackgroundPixmap
Popup Menu PagecolumnMenu
Positionseqno
Post-change (columns)postChangeCallback
Post-change (info boxes)preLeaveRecordCallback
Post-closepostCloseCallback
Post-createcreateRecordCallback
Post-deletepostDeleteCallback
Post-editpostEditCallback
Post-fetchpostFetchCallback
Post-insertpostInsertCallback
Post-leaveleaveFieldCallback
Post-openpostStartupCallback
Post-rollbackpostRollbackCallback
Post-updatepostUpdateCallback
Pre-closepreCloseCallback
Pre-commitpreCommitCallback
Pre-deletepreDeleteCallback
Pre-exit ValidationpreExitCallbacklist
Pre-field-entryenterFieldCallback
Pre-insert ValidationpreInsertCallback
Pre-record-entrypreRecordCallback
Pre-update ValidationpreUpdateCallback
Primary Key ColorprimaryKeyColor
Primary Key FontprimaryKeyFont
Promptprompt
Prompt For EditmenuEditPrompt
Prompt For FixedmenuFixedPrompt
Prompt For LookupmenuLookupPrompt
Query AllowedqueryAllowed
Query MandatoryqueryMandatory
Query Some MandatoryquerySomeMandatory
Range MaximumrangeHigh
Range MinimumrangeLow
Reflect UpdatesupdateNotifyActive
Refresh Changed RecordsrefreshRow
Related ColumnforeignColumn
Related Windows For MenurelatedWindowsForMenu
RelationshipsjoinReferences
Resize ChildallowShellResize
Root NodestopName
Round Off Monetary ValuesroundOffMoney
Show IconsuseBitmap
Show Message NumbersshowMessageNumbers
Show Root LineslinesAtRoot
Single SelectionuseSingleSelection
SizablethickFrame
Sort Alphabeticallysort
SQL Queryquery
SQL Statementsql
Startup ActionsstartUp
Static EdgestaticEdge
Subtype actionsubtypeaction
Subtype PresentationssubtypePresentations
Synchronize LookupsynchronizeLookup
System MenusysMenu
Tab OrdertabSeqno
Text Colorforeground
Text Fontfont
Tick Mark FrequencytickMarkFrequency
Tick Mark PositiontickMarkPosition
Titletitle
Tool WindowtoolWindow
Topmosttopmost
Underlying Querysql
Uniform Cell WidthcolWidth
Unit Lines Primary AxislinesPrimAxis
Unit Lines Secondary AxislinesSecAxis
Updatableupdatable
Updatable Only if NullupdatableIfNull
Uppercaseuppercase
Use Static TablesuseStaticTables
Value Listenums
Value List PromptsenumPrompts
Values to Querysql
Vertical Cell MargincellMarginVertical
Vertical DistancevertDistance
Vertical ScrollbarscrollVertical
Vertical SpacingspacingVertical
ViewviewStyle
Virtual ColorvirtualColor
WHERE ClausewhereClause
Widthwidth
Window EdgewindowEdge
X Positionx
Y Positiony
Yes ActionyesAction

Allowed values of properties

This table allows you to lookup what are allowed values that you can set a property to.

The 2  leftmost columns identify properties and values as displayed in USoft Windows Designer. The rightmost column provides the internal value name that you need to use in Action Language calls.

PropertyValueInternal value
(All Yes/No properties)YesY
NoN
AlignmentLeft or TopB
CenteredC
Right or BottomE
JustifiedJ
WorkareaW
Border TypeNone0
Normal1
Group2
Raised3
Shadow4
Sunken5
Single Raised6
Double Raised7
Single Sunken8
Double Sunken9
Button TypeApplyButtonApply
CancelButtonCancel
DefaultButtonDefault
No CheckButtonNoCheck
SensitiveButtonSensitive
StandardButtonStandard
Data AlignmentLeftL
CenterC
RightR
Display TypeBitmap  ImageEXT_PIXMAP
Check BoxCHECK
Dropdown List BoxOPTION
Multi-line Text BoxLONG
Multi-line Text Box (CLOB)CLOB
OLE ContainerEXT_OLE
Option ButtonsRADIO
SlidesSCALE
Text Box (Alpha)ALPHA
Text Box (Char)CHAR
Text Box (Date and Time)DATETIME
Text Box (Date)DATE
Text Box (European Date)EDATE
Text Box (Integer)INT
Text Box (Julian Date)JDATE
Text Box (Money)MONEY
Text Box (Number)NUMBER
Text Box (R Integer)RINT
Text Box (R Money)RMONEY
Text Box (R Number)RNUMBER
Text Box (Time)TIME
Text DocumentEXT_TEXT
Text EditorDB_TEXT
Label TypeNoneNone
ValueValue
PercentPercent
LabelLabel
LabelPercentLabelPercent
Label PositionLeftL
CenterC
RightR
Line StyleLinesLines
DotsDots
BothLinesDots
On Empty WindowClose WindowCloseWindow
Show MessageShowMessage
Show WindowShowWindow
OrientationHorizontalHorizontal
VerticalVertical
XyXy
Synchronize LookupNoneNone
Non-editable FieldsNoneEditableFields
All Edited FieldsAllEditedFields
Tick Mark PositionNoneNone
BothBoth
TopLeftTop
BottomRightBottom