ProScript .NET Documentation
ProScript .NET Documentation
ProScript
RegionButton Class
RegionButton Constructor
RegionButton Methods

# RegionButton Class

This class represents a button region.
Inheritance Hierarchy
System
Object
ProScript
Region
ProScript
RegionButton

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public sealed class RegionButton : Region

    Public NotInheritable Class RegionButton
    	Inherits Region

    public ref class RegionButton sealed : public Region

    [<SealedAttribute>]
    type RegionButton =
        class
            inherit Region
        end

The RegionButton type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| RegionButton | Initializes a new instance of the RegionButton class.
| RegionButton(Byte, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, UInt32, UInt16, UInt16, UInt16, UInt16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Int32, Boolean, Boolean, Boolean, Boolean, Boolean, Int32, String, Int32, Int32) | Initializes a new instance of the RegionButton class.

Top
Methods

| Name | Description
--- | --- | ---
| AcceptsTouch | Gets whether or not this region accepts touch. (Inherited from Region.)
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| GetButtonReserved | The parameter is not used.
| GetCaption | Gets the caption on this button.
| GetColorBackground | Gets the background color. (Inherited from Region.)
| GetColorForeground | Gets the foreground color. (Inherited from Region.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetNumber | Gets the region number. (Inherited from Region.)
| GetOutputToHost | Gets whether this region will output information to the host or not. (Inherited from Region.)
| GetParent | Gets the parents region number of this region.
| GetReserved2 | The parameter is not used. (Inherited from Region.)
| GetResourceNumberNormal | Gets the resource number of the button in an idle state.
| GetResourceNumberSelected | Gets the resource number of this button in a selected state.
| GetType | Gets the type of the current instance. (Inherited from Object.)
| GetUseResource | Gets whether or not this button will be using resources.
| GetX1 | Gets the left most edge. (Inherited from Region.)
| GetX2 | Gets the right most edge. (Inherited from Region.)
| GetY1 | Gets the top most edge. (Inherited from Region.)
| GetY2 | Gets the bottom most edge. (Inherited from Region.)
| HasFrame | Gets whether or not this region has a box around it. (Inherited from Region.)
| IsDecode | Gets whether or not this region will generate coordinate events. (Inherited from Region.)
| IsEnabled | Gets whether or not the button is enabled.
| IsInUse | Gets whether or not this region is in use. (Inherited from Region.)
| IsReserved1 | The parameter is not used. (Inherited from Region.)
| IsVisible | Gets whether or not this region is visible. (Inherited from Region.)
| SetAcceptTouch | Sets whether or not this region accepts touch. (Inherited from Region.)
| SetButtonReserved | The parameter is not used.
| SetCaption | Sets the button caption.
| SetClearOnSelect | Sets whether or not the screen will clear when the button is selected.
| SetColorBackground | Sets the background color (Inherited from Region.)
| SetColorForeground | Sets the foreground color (Inherited from Region.)
| SetConfirmOnSelect | Sets whether or not this button will send a confirmation when it is selected.
| SetDecode | Sets whether or not this region will generate coordinate events. (Inherited from Region.)
| SetEnabled | Sets whether or not the button is enabled.
| SetHasFrame | Sets whether or not this region has a box around it. (Inherited from Region.)
| SetHighlightOnSelect | Sets whether or not the button will highlight when selected.
| SetNumber | Sets the region number. (Inherited from Region.)
| SetOutputToHost | Sets whether this region will output information to the host or not. (Inherited from Region.)
| SetParent | Sets the parent region.
| SetReserved1 | The parameter is not used. (Inherited from Region.)
| SetReserved2 | The parameter is not used. (Inherited from Region.)
| SetResourceNumberNormal | Sets the resource number of the button in an idle state.
| SetResourceNumberSelected | Sets the resource number of this button in a selected state.
| SetUseResource | Sets whether or not this button will be using resources.
| SetVisible | Sets whether or not this region is visible. (Inherited from Region.)
| SetX1 | Sets the left most edge. (Inherited from Region.)
| SetX2 | Sets the right most edge. (Inherited from Region.)
| SetY1 | Sets the top most edge. (Inherited from Region.)
| SetY2 | Sets the bottom most edge. (Inherited from Region.)
| ToString | Converts this object into a human readable string. (Overrides Region ToString .)
| WillClearOnSelect | Gets whether or not this button will clear the screen when it is pressed.
| WillConfirmOnSelect | Gets whether or not this button will send a confirmation when it is pressed.
| WillHighlightOnSelect | Sets whether or not this button will be highlighted when it is selected.

Top
See Also

#### Reference

ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.