The NetControlBox class implements the NetControlBox development environment component used to display and work with .NET components, registered in the system.
Property name | Brief description | |
Control | The Control property returns .NET component, loaded into NetControlBox. |
Property name | Brief description | |
The Align property determines component alignment within its parent component. | ||
The AllowDrag property determines whether an object can be dragged from a component. | ||
The AllowDrop property determines whether a component can accept a dragged object. | ||
The Anchors property returns settings determining % of the size change for the current component when the parent component is resized. | ||
The Brush property specifies the brush used to fill the component area. | ||
The ClientHeight property determines the height of the client component area. | ||
The ClientWidth property determines the width of the client component area. | ||
The Color property determines the color of the component background. | ||
The Cursor property determines how the cursor looks like when you hover over a component during form execution. | ||
The Enabled property determines whether a component is available for a user. | ||
The Focused property returns True if the focus is set to this component. | ||
The Font property defines the parameters of the font used to display text in a component. | ||
The Height property determines the component height (pixels). | ||
The HelpContext property determines the unique index for a section of a context help for this component. | ||
The Hint property determines the tip text displayed if you hover over a component. | ||
The HintTimeout determines the time for which the tooltip is displayed. | ||
The Left property determines the coordinate of the component left edge (pixels). | ||
The Parent property determines the parent component. | ||
The ParentColor property determines whether a component inherits the color of the parent component. | ||
The ParentFont property determines whether a component should use the font of the parent component. | ||
The ParentShowHint property determines when a tooltip is displayed. | ||
The PopupMenu property determines the context menu displayed when a component is clicked using the right mouse button. | ||
The Scrolls property returns parameters of component's scroll bars. | ||
The ShowHint property determines whether a tool tip should be displayed when you hover over a component. | ||
The TabOrder property determines the position of a component in a tab order. | ||
The TabStop property determines whether the focus is set to a component when the Tab button is pressed. | ||
The Text property determines the row identifying a component for a user. | ||
The Top property determines the coordinate of the component upper edge (pixels). | ||
The Visible property determines whether a component is displayed when a form is executed. | ||
The Width property determines the horizontal size of a component (pixels). |
Property name | Brief description | |
ComponentCount | The ComponentCount property returns the number of child components, located on the parent component. | |
Components | The Components property returns a child component, the index of which is passed via the input parameter. | |
Data | The Data property is used to store any custom data. | |
Name | The Name property determines the component name. | |
Tag | The Tag property is not used by the compiler. A user can change the value of the Tag property and use it as he wishes. |
Method name | Brief description | |
AttachControl | The AttachControl method displays the .NET component in the NetControlBox component. | |
AttachHandler | The AttachHandler method adds the specified event of .NET component to the list of tracked events. | |
CreateControl | The CreateControl method creates a .NET component and loads it to the NetControlBox component. | |
DetachHandler | The DetachHandler method deletes the .NET component event from the list of tracked events. |
Method name | Brief description | |
BringToFront | Outdated. The BringToFront method sends a component to the foreground. | |
ClientToScreen | The ClientToScreen method converts the coordinates of a point specified relative to the component coordinate system to screen coordinates. | |
DoDragDrop | The DoDragDrop method enables to start dragging operation. | |
GetImage | The GetImage method returns a graphic presentation of a component together with all children. | |
ScreenToClient | The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system. | |
SendToBack | Outdated. The SendToBack method is used to send a component to the background. | |
SetFocus | The SetFocus method sets focus to this component. |
Event name | Brief description | |
OnEvent | The OnEvent event takes place if for the .NET component that is loaded into NetControlBox, any event, added to the list of tracked events, occurs. |
Event name | Brief description | |
OnBeginDrag | The OnBeginDrag event occurs for a component, when a user starts to drag an object from the component. | |
OnClick | The OnClick event occurs if a user clicks a component area using the main mouse button. | |
OnControlMove | The OnControlMove event occurs when a component is moved. | |
OnControlResize | The OnControlResize event occurs when a component is resized. | |
OnDblClick | The OnDblClick event occurs if a user double clicks a component area using the mouse button. | |
OnDragDrop | The OnDragDrop event occurs for a component if a user drops a dragged object over it. | |
OnDragEnter | The OnDragEnter event occurs when a dragged object enters the component area. | |
OnDragLeave | The OnDragLeave event occurs when a dragged object leaves the borders of this component. | |
OnDragOver | The OnDragOver event occurs for this component when a user drags a dragged object over it. | |
OnEnter | The OnEnter event occurs when a component receives focus. | |
OnExit | The OnExit event occurs when a component loses focus. | |
OnHScroll | The OnHScroll event occurs when horizontal scroll bar slider changes its position. | |
OnKeyDown | The OnKeyDown event occurs if a component is focused and a keyboard key is pressed. | |
OnKeyPress | The OnKeyPress event occurs if a component is focused when a user presses a character key. | |
OnKeyPreview | The OnKeyPreview event occurs prior to each event requiring clicking. | |
OnKeyUp | The OnKeyUp event occurs if a component is focused and a user releases any button previously pressed. | |
OnMouseDown | The OnMouseDown event occurs when the pointer is in component area and a mouse button is pressed. | |
OnMouseEnter | The OnMouseEnter event occurs when mouse cursor enters the component area. | |
OnMouseHover | The OnMouseHover event occurs when mouse cursor is held in the component area. | |
OnMouseLeave | The OnMouseLeave event occurs when mouse cursor leaves the component area. | |
OnMouseMove | The OnMouseMove event occurs on moving the cursor over component. | |
OnMouseUp | The OnMouseUp event occurs on releasing mouse button when the cursor is in component area. | |
OnMouseWheel | The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated. | |
OnVScroll | The OnVScroll event occurs when position of vertical scroll bar slider is changed. |
See also: