Gambas Documentation - /dev/api/cat/component

/dev/api/cat/component

# Component Management

`GB.CurrentComponent` | Returns the name of the current component.
`GB.GetInterface` | Retrieves the interface of a component.
`GB.LoadComponent` | Loads a component.

## Overview

The `GB.LoadComponent` and `GB.GetInterface` functions allow you to load a component at execution time, and to retrieve its exported interface if needed.

The `GB.CurrentComponent` is mainly used for doing things that depends on the current executed component.