cadetill's blog | Copyright © Xavier Martínez (cadetill)

# Class TGMComponent

Description
Hierarchy
Fields
Methods
Properties

## Unit

GMLib.Classes

## Declaration

`type TGMComponent = class(TComponent, IGMAPIUrl, IGMToStr)`

## Description

Base class for all classes that inherit from `TComponent` into GMLib.

Implements `IGMAPIUrl` interface.

## Hierarchy

- TObject
- TPersistent
- TComponent
- TGMComponent

## Overview

### Methods

| `constructor Create(AOwner: TComponent); override;`
| `function PropToString: string; virtual;`
| `procedure Assign(Source: TPersistent); override;`

### Properties

| `property AboutGMLib: string read GetAboutGMLib stored False;`
| `property APIUrl: string read GetAPIUrl;`
| `property Language: TGMLang read FLanguage write FLanguage default lnEnglish;`

## Description

### Methods

| `constructor Create(AOwner: TComponent); override;`
Class constructor. ###### Parameters AOwner Component owner.

| `function PropToString: string; virtual;`
Converts all class properties values to a string separated by comma used to send values to a JavaScript function. ###### Returns string with all properties.

| `procedure Assign(Source: TPersistent); override;`
Call `Assign` to copy the properties or other attributes form an object to another. The standard form of a call to `Assign` method is `Destination.Assign(Source);` which tells the `Destination` object to copy the contents of the `Source` object to itself. ###### Parameters Source Object to copy the content.

### Properties

| `property AboutGMLib: string read GetAboutGMLib stored False;`
This property shows an "About" form with GMLib info.

| `property APIUrl: string read GetAPIUrl;`
URL to Google Maps API page.

| `property Language: TGMLang read FLanguage write FLanguage default lnEnglish;`
Language property specifies the language in which messages are displayed the exceptions raised by GMLib.

Generated by PasDoc 0.15.0.