Show / Hide Table of Contents

Class ConstructAction.IntInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to enter a integer value in a edit field. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

Inheritance
System.Object
ConstructAction.InputObject
ConstructAction.IntInput
Inherited Members
ConstructAction.InputObject.ReadOnly
ConstructAction.InputObject.Optional
ConstructAction.InputObject.Fixed
ConstructAction.InputObject.ResourceId
ConstructAction.InputObject.constructAction
ConstructAction.InputObject.ShowProperty
ConstructAction.InputObject.Init(ConstructAction)
ConstructAction.InputObject.Refresh()
ConstructAction.InputObject.BuildShowProperty()
ConstructAction.InputObject.AcceptInput(Boolean)
ConstructAction.InputObject.MouseLeft()
ConstructAction.InputObject.OnActionDone()
ConstructAction.InputObject.HasHotspot
ConstructAction.InputObject.HotspotPosition
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class IntInput : ConstructAction.InputObject, ConstructAction.IInputObject

Constructors

| Improve this Doc View Source

IntInput(String)

Creates a IntInput field with no initial value

Declaration
public IntInput(string resourceId)
Parameters
Type Name Description
System.String resourceId

the resource id to specify a string from the StringTable. ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text.

| Improve this Doc View Source

IntInput(String, Int32)

Creates a IntInput field with an initial value

Declaration
public IntInput(string resourceId, int StartValue)
Parameters
Type Name Description
System.String resourceId

the resource id to specify a string from the StringTable. ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text.

System.Int32 StartValue

initial value

Properties

| Improve this Doc View Source

ForwardMouseInputTo

Mouse input should be forwarded to another input object and only processed by this input, when the other input object is fixed.

Declaration
public object ForwardMouseInputTo { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

IntValue

Declaration
public int IntValue { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

AdjustHighlight()

Declaration
protected override void AdjustHighlight()
Overrides
ConstructAction.InputObject.AdjustHighlight()
| Improve this Doc View Source

SetMinMax(Int32, Int32, Boolean)

Sets the limits for the input ad determins whether an up/down control is displayed

Declaration
public void SetMinMax(int min, int max, bool showupdown)
Parameters
Type Name Description
System.Int32 min

minimum input value

System.Int32 max

maximum input value

System.Boolean showupdown

true: show up/down control

Events

| Improve this Doc View Source

CalculateIntEvent

Provide a method here, if you want to calculate the int from a mouse position.

Declaration
public event ConstructAction.IntInput.CalculateIntDelegate CalculateIntEvent
Event Type
Type Description
ConstructAction.IntInput.CalculateIntDelegate
| Improve this Doc View Source

GetIntEvent

Provide a handler here when the integer value is modified by other means than simple user input (e.g. by mouse movement)

Declaration
public event ConstructAction.IntInput.GetIntDelegate GetIntEvent
Event Type
Type Description
ConstructAction.IntInput.GetIntDelegate
| Improve this Doc View Source

SetIntEvent

Provide a handler here to be able to react on input changes

Declaration
public event ConstructAction.IntInput.SetIntDelegate SetIntEvent
Event Type
Type Description
ConstructAction.IntInput.SetIntDelegate
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX