UserInterfaceTextBox Methods |
The UserInterfaceTextBox type exposes the following members.
| Name | Description | |
|---|---|---|
| ComputedRectangle | (Inherited from UserInterfaceControl.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsMouseOver |
Called to test if the mouse is actively over this object
(Inherited from UserInterfaceObjectBase.) | |
| IsRegistered |
Is this user interface object active
(Inherited from UserInterfaceObjectBase.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnDraw |
All user interface objects are drawn and can customize their look
with the OnDraw function
(Inherited from UserInterfaceObjectBase.) | |
| OnEditCanceled |
Called when Escape is pressed. The text has already been put back to what
it was when the box took focus. The default implementation raises the
EditCanceled event.
| |
| OnKeyboardFocusChanged |
Called when the box gains or loses keyboard focus. Read HasKeyboardFocus
to find out which. The default implementation raises the
KeyboardFocusChanged event.
| |
| OnMouseClick |
Called during a mouse click event on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseDoubleClick |
Called during a mouse double click event on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseDown |
Called when the mouse goes down on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseEnter |
Called when the mouse goes over this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseLeave |
Called when the mouse leaves this object
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseMove |
Called when the mouse is moved
(Inherited from UserInterfaceObjectBase.) | |
| OnMouseUp |
Called when the mouse is released on this object
(Inherited from UserInterfaceObjectBase.) | |
| OnRunCommand |
Called after the above RunCommand function is called. This will be
executing while inside of a Rhino command.
(Inherited from UserInterfaceObjectBase.) | |
| OnTextChanged |
Called every time the text changes, once per keystroke. The default
implementation raises the TextChanged event.
| |
| OnTextCommitted |
Called when Enter is pressed, and when the box loses focus with the text
changed from what it started with. This is where you do something about
the new text. The default implementation raises the TextCommitted event.
| |
| RegisterForAllDocuments |
Make this object visible for all documents. Typically you will only have user
interface objects work with single documents. For that case, call
doc.ViewUserInterface.Add
(Inherited from UserInterfaceObjectBase.) | |
| RunCommand |
Call RunCommand to have the virtual OnRunCommand function executed in the
scope of a Rhino command. If you are modifying the document from one of
the mouse functions on this object, this is the best approach to do so
since changes made inside of a command are recorded for undo.
(Inherited from UserInterfaceObjectBase.) | |
| SetSvg | (Inherited from UserInterfaceControl.) | |
| TakeKeyboardFocus |
Give this text box keyboard focus, as clicking it does
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Unregister |
Unregister this object
(Inherited from UserInterfaceObjectBase.) |