Table of Contents

Class ConstructAction.SeparatorInput

Namespace
CADability.Actions
Assembly
CADability.dll

An input object that does not take any input but shows a separator with a caption in the property page of the action, to group the inputs that follow it (e.g. the lengths and the directions of a box). It is always fixed and never receives the mouse or the keyboard. Add it to the action with SetInput(params object[]) like any other input.

public class ConstructAction.SeparatorInput : ConstructAction.InputObject
Inheritance
ConstructAction.SeparatorInput
Inherited Members

Constructors

SeparatorInput(string)

Creates a separator whose caption is the string table entry resourceId.

public SeparatorInput(string resourceId)

Parameters

resourceId string

Resource id of the caption in the StringTable

Methods

SetError(string)

Shows errorMessage as an error on the entry of this input in the property page, e.g. when the value entered by the user is not acceptable for the action. The default implementation does nothing; inputs with an edit field forward the message to their property entry, inputs without one ignore it.

public override void SetError(string errorMessage)

Parameters

errorMessage string

The text to display, or an empty string to clear the error