Top Method Summary
Options Name Purpose
CHARACTER AddMessage (character, character) Adds a message to a list of validation messages
CHARACTER GetMessageText (integer, character, character) Returns the text of a message of the SmartFramework Message Dictionary
LOGICAL IsSubmenu (JsonObject, character) Returns if the given button definition is a submenu tool
CHARACTER Validate (character, JsonObject) Validates a ContextMenu attribute value


Method Detail
Top

CHARACTER AddMessage (character, character)

Purpose: Adds a message to a list of validation messages
Notes:

Parameters:
pcMessages CHARACTER
The CHR(10)-delimited list of validation messages
pcMessage CHARACTER
The message to add
Returns CHARACTER
The CHR(10)-delimited list of validation messages including the new message
Top

CHARACTER GetMessageText (integer, character, character)

Purpose: Returns the text of a message of the SmartFramework Message Dictionary
Notes:

Parameters:
piMessageNumber INTEGER
The number of the message in the SFR group
pcParameter1 CHARACTER
The first message parameter
pcParameter2 CHARACTER
The second message parameter
Returns CHARACTER
The message text
Top

LOGICAL IsSubmenu (JsonObject, character)

Purpose: Returns if the given button definition is a submenu tool
Notes:

Parameters:
poTools Progress.Json.ObjectModel.JsonObject
The JsonObject with the button definitions keyed by the tool id
pcToolId CHARACTER
The id of the tool
Returns LOGICAL
Logical value indicating if the tool is a submenu
Top

CHARACTER Validate (character, JsonObject)

Purpose: Validates a ContextMenu attribute value
Notes: The tools are verified against the given button definitions,
e.g. the result of IToolbarButtonDefinitionService:GetButtonDefinitions

Parameters:
pcContextMenu CHARACTER
The ContextMenu attribute value
poTools Progress.Json.ObjectModel.JsonObject
The JsonObject with the button definitions keyed by the tool id
Returns CHARACTER
The CHR(10)-delimited list of the validation messages, the empty value when the value is valid


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:11:06