# VBRUN Package

The VBRUN built-in package collects twinBASIC's runtime-only types: the ambient, asynchronous, and error-handling objects the runtime hands to controls and event handlers; the collection wrappers it exposes on **UserControl** and on data-source classes; the clipboard / OLE drag-and-drop container; the **PropertyBag** persistence helper used by **UserControl** save and load; and the enumerations that classic VB6 forms, intrinsic controls, and runtime services use to spell out their option values.

## Classes

- [AmbientProperties](/tB/Packages/VBRUN/AmbientProperties/index.md) -- read-only object describing the host container's appearance, locale, and design / run-time mode for an embedded control
- [AsyncProperty](/tB/Packages/VBRUN/AsyncProperty/index.md) -- event-argument object that identifies an asynchronous **UserControl.AsyncRead** request and delivers the resulting value
- [ContainedControls](/tB/Packages/VBRUN/ContainedControls/index.md) -- read-only collection of the controls a consumer placed inside a control-container **UserControl**
- [DataMembers](/tB/Packages/VBRUN/DataMembers/index.md) -- collection of named data-source members advertised at design time to data-binding consumers
- [DataObject](/tB/Packages/VBRUN/DataObject/index.md) -- clipboard / OLE drag-and-drop container that holds one payload in multiple clipboard formats
- [ErrorCallstack](/tB/Packages/VBRUN/ErrorCallstack/index.md) -- snapshot of the call stack at the moment a run-time error was raised, exposed as a sequence of [**ErrorStackFrame**](/tB/Packages/VBRUN/ErrorStackFrame/index.md) items
- [ErrorContext](/tB/Packages/VBRUN/ErrorContext/index.md) -- structured error object -- number, description, source, help, OS error, state, and call stack
- [ErrorStackFrame](/tB/Packages/VBRUN/ErrorStackFrame/index.md) -- single procedure on an [**ErrorCallstack**](/tB/Packages/VBRUN/ErrorCallstack/index.md) -- its project, module, and procedure names
- [Hyperlink](/tB/Packages/VBRUN/Hyperlink/index.md) -- runtime bridge for browser-style navigation; controls call **UserControl.Hyperlink.NavigateTo** to ask the host to load a target
- [ParentControls](/tB/Packages/VBRUN/ParentControls/index.md) -- collection of the **UserControl**'s siblings in its container, optionally wrapped in their host **Extender**
- [PropertyBag](/tB/Packages/VBRUN/PropertyBag/index.md) -- creatable key / value store for persisting an object's state -- used by **UserControl** save / load and serialisable as a single byte array

## Modules

- [Constants](/tB/Packages/VBRUN/Constants/index.md) -- enumerations used by classic VB6 forms, intrinsic controls, and runtime services -- colours, mouse pointers, key codes, drag/drop states, OLE container behaviour, printer setup values, …
