User Actions with the same style as prompts

The possibility to add a User Action which has a similar look & feer as the Prompts that GeneXus adds automatically next to the fields in the transactions was added. You will need to create the User Action and assign the following properties, depending on the style of your attributes & variables (whether they have floating labels or not)

Regular Attributes & Variables (No Floating Labels)

  1. Add the Variable/Attribute which will have the Prompt next to it and set to the Variable/Attribute the property 'Cell Theme Class' the value: 'DataContentCell CellUserActionPrompt'
  2. Add a User Action, set the properties:
    • Type: Image
    • Image: Prompt
    • Merge with previous cell: True

The nodes will have this hierarchy:

The GeneXus Transaction pattern editor shows the User Action (CompanyIdPrompt) node under CompanyId in the tree, with the Properties panel's 'Location in father container' section highlighted, showing 'Merge With Previous Cell' set to True, aligning the prompt icon button next to the Company search field in the form preview.

Attributes & Variables with Floating Labels

  1. Add a Responsive Table.
  2. Add into the Table the Attribute/Variable which will have the Prompt next to it.
  3. Add into the Table a User Action, set the properties:
    • Type: Image
    • Image: Prompt
    • Image Class: UserActionPrompt

The nodes will have this hierarchy:

The GeneXus Transaction pattern editor shows the TableMain tree with a User Action (CompanyIdPrompt) selected under the CompanyId attribute; the Properties panel highlights Control type 'Image', Name 'CompanyIdPrompt', Image 'prompt', Image Class 'UserActionPrompt', and Image Type 'Image', linked to the Company search field in the form preview.