Difference between revisions of "All Values"

From SAP Enable Now Wiki
 
Line 1: Line 1:
 
==Scope==
 
==Scope==
 
* '''[[Simulation]]''' content object > '''[[Select Single]]''' macro > '''Object''' > '''All Values''' property
 
* '''[[Simulation]]''' content object > '''[[Select Single]]''' macro > '''Object''' > '''All Values''' property
* '''[[Simulation]]''' content object > '''[[Mouse Action]]''' macro > '''Object''' > '''All Values''' property
+
* '''[[Simulation]]''' content object > '''[[Mouse Action (Simulation macro)|Mouse Action]]''' macro > '''Object''' > '''All Values''' property
  
 
==Purpose==
 
==Purpose==
Line 8: Line 8:
 
The value that the user selects from this list is defined in the '''[[Selected Index]]''' property for the parent macro, where the first entry in the '''All Values''' list has an index of '''0'''.
 
The value that the user selects from this list is defined in the '''[[Selected Index]]''' property for the parent macro, where the first entry in the '''All Values''' list has an index of '''0'''.
  
This property is also available on '''[[Mouse Action]]''' macros, but does not play any part in the display or execution of that macro. Instead, it seems to be populated as a convenience when SAP  Enable Now recognizes that the object clicked on is a value in a drop-down list, but has not recognized the control as a drop-down list. In this case, you can at least replace the '''[[Mouse Action]]''' macro with a '''[[Select Single]]''' macro during editing, and copy the '''All Values''' list to the new macro.
+
This property is also available on '''[[Mouse Action (Simulation macro)|Mouse Action]]''' macros, but does not play any part in the display or execution of that macro. Instead, it seems to be populated as a convenience when SAP  Enable Now recognizes that the object clicked on is a value in a drop-down list, but has not recognized the control as a drop-down list. In this case, you can at least replace the '''[[Mouse Action (Simulation macro)|Mouse Action]]''' macro with a '''[[Select Single]]''' macro during editing, and copy the '''All Values''' list to the new macro.
  
 
[[Category:Property]]
 
[[Category:Property]]

Latest revision as of 18:30, 26 April 2021

Scope

Purpose

This property is primarily used for a Select Single macro to provide the list of values in the drop-down list that the user can select from. Each value is placed on a separate line, and the value that is currently-selected (typically the default selection) is prefixed by {*}. An Edit button is provided on the right of the property, which can be used to open the list in your default text editor (such as Notepad). There is also a 'gear' button you can use to select the program to use as the default text editor.

The value that the user selects from this list is defined in the Selected Index property for the parent macro, where the first entry in the All Values list has an index of 0.

This property is also available on Mouse Action macros, but does not play any part in the display or execution of that macro. Instead, it seems to be populated as a convenience when SAP Enable Now recognizes that the object clicked on is a value in a drop-down list, but has not recognized the control as a drop-down list. In this case, you can at least replace the Mouse Action macro with a Select Single macro during editing, and copy the All Values list to the new macro.