This method sets the indexes of the regions that will be included in this
screen. The indexes (key) are paired with the screen (value) that should be switched to
in the event that the region is activated (for instance if a button region
is pressed). Use the DO_NOTHING_ON_NEXT constant to indicate nothing should
happen.
This method replaces the entire region list in the screen. Use addRegion()
to add an individual region to the screen.
Namespace:
ProScript
Assembly:
proscript-csharp (in proscript-csharp.dll) Version: 1.2.79.0 (1.2.79.0)
Syntax public void SetRegions(
Dictionary<int, int> regions
)
Public Sub SetRegions (
regions As Dictionary(Of Integer, Integer)
)
public:
void SetRegions(
Dictionary<int, int>^ regions
)
member SetRegions :
regions : Dictionary<int, int> -> unit
Parameters
- regions
- Type: System.Collections.GenericDictionaryInt32, Int32
Regions with screen pairings to set.
See Also