Platoo FReport ComponentsTFRImageMapArea

Contents - Methods - Properties

Imagemap area used by TFRImage to describe image map


Description
Incapsulates HTML map area element <AREA...>

Map areas are created and managed at design time by TFRImage's component editor (or property USEMAP editor).


TFRImageMapArea - Methods

Contents - TFRImageMapArea - Properties

~TFRImageMapArea
Destructor

C++ declaration
__fastcall virtual ~TFRImageMapArea(void)

Create
Delphi declaration
constructor Create(AOwner: TComponent);
SetCoords
Setting all map area rectangle coordinates at same time

Delphi declaration
procedure SetCoords(ALeft, ATop, ARight, ABottom: Integer);
C++ declaration
void __fastcall SetCoords(int ALeft, int ATop, int ARight, int ABottom)

Description
Used internally at design time .

TFRImageMapArea
Constructor

C++ declaration
__fastcall virtual TFRImageMapArea(Classes::TComponent *AOwner)


TFRImageMapArea - Properties

Contents - TFRImageMapArea - Methods

ALT
Alternate text

Delphi declaration
property ALT: string read FAlt write FAlt;
C++ declaration
__property System::AnsiString ALT={ read=FAlt, write=FAlt, nodefault }

Description
Results as <AREA...ALT="Value"...>

CoordsRectText
Map area coordinates as text

Delphi declaration
property CoordsRectText: string read GetCoordsRectText;
C++ declaration
__property System::AnsiString CoordsRectText={ read=GetCoordsRectText, nodefault }

Description
Used at design time by property editor .

HREF

Delphi declaration
property HREF: AnsiString read GetHREF write SetHREF;
C++ declaration
__property System::AnsiString HREF={ read=GetHREF, write=SetHREF, nodefault }

Description
Use HREF property to set HTML HREF. HREF is t he link where t he browser will go when t he user clicks on the HTML element.

For example , HREF="www.someplace.com" will redirect your b rowser to www.someplace.com website.

HREF="mailto:some.person@someplace.com" will invoke default e-mail programm e to sen d mail .

HREF="javascript:MyFun(1,'oops')" will execute javascript function MyFun with parameters 1 and oops.

HREF_TARGET

Delphi declaration
property HREF_TARGET: AnsiString read GetTARGET write FRefTarget;
C++ declaration
__property System::AnsiString HREF_TARGET={ read=GetTARGET, write=FRefTarget, nodefault }

Description
HREF_TARGET specifies t he window where HREF will be opened.

By default, HREF will be opened in the same window where the HREF link is defined.

HTMLCoordsText
Map area coordinates as HTML text

Delphi declaration
property HTMLCoordsText: string read GetHTMLCoordsText;
C++ declaration
__property System::AnsiString HTMLCoordsText={ read=GetHTMLCoordsText, nodefault }

Description
Used at runtime. When Shape is shapCircle, circle coordinates are created that fit into area rectangle.

Results as COORDS="left, top, right, bottom" or COORDS="center-x, center-y, radius".

ONBLUR

Delphi declaration
property ONBLUR: string read FONBLUR write FONBLUR;
C++ declaration
__property System::AnsiString ONBLUR={ read=FONBLUR, write=FONBLUR, nodefault }

Description
Use this property to set ONBLUR HTML event for map area at designtime .

ONCLICK

Delphi declaration
property ONCLICK: string read FONCLICK write FONCLICK;
C++ declaration
__property System::AnsiString ONCLICK={ read=FONCLICK, write=FONCLICK, nodefault }

Description
Use this property to set ONCLICK HTML event for map area at designtime .

ONDBLCLICK

Delphi declaration
property ONDBLCLICK: string read FONDBLCLICK write FONDBLCLICK;
C++ declaration
__property System::AnsiString ONDBLCLICK={ read=FONDBLCLICK, write=FONDBLCLICK, nodefault }

Description
Use this property to set ONDBLCLICK HTML event for map area at designtime .

ONFOCUS

Delphi declaration
property ONFOCUS: string read FONFOCUS write FONFOCUS;
C++ declaration
__property System::AnsiString ONFOCUS={ read=FONFOCUS, write=FONFOCUS, nodefault }

Description
Use this property to set ONFOCUS HTML event for map area at designtime .

ONKEYDOWN

Delphi declaration
property ONKEYDOWN: string read FONKEYDOWN write FONKEYDOWN;
C++ declaration
__property System::AnsiString ONKEYDOWN={ read=FONKEYDOWN, write=FONKEYDOWN, nodefault }

Description
Use this property to set ONKEYDOWN HTML event for map area at designtime .

ONKEYPRESS

Delphi declaration
property ONKEYPRESS: string read FONKEYPRESS write FONKEYPRESS;
C++ declaration
__property System::AnsiString ONKEYPRESS={ read=FONKEYPRESS, write=FONKEYPRESS, nodefault }

Description
Use this property to set ONKEYPRESS HTML event for map area at designtime .

ONKEYUP

Delphi declaration
property ONKEYUP: string read FONKEYUP write FONKEYUP;
C++ declaration
__property System::AnsiString ONKEYUP={ read=FONKEYUP, write=FONKEYUP, nodefault }

Description
Use this property to set ONKEYUP HTML event for map area at designtime .

ONMOUSEDOWN

Delphi declaration
property ONMOUSEDOWN: string read FONMOUSEDOWN write FONMOUSEDOWN;
C++ declaration
__property System::AnsiString ONMOUSEDOWN={ read=FONMOUSEDOWN, write=FONMOUSEDOWN, nodefault }

Description
Use this property to set ONMOUSEDOWN HTML event for map area at designtime .

ONMOUSEMOVE

Delphi declaration
property ONMOUSEMOVE: string read FONMOUSEMOVE write FONMOUSEMOVE;
C++ declaration
__property System::AnsiString ONMOUSEMOVE={ read=FONMOUSEMOVE, write=FONMOUSEMOVE, nodefault }

Description
Use this property to set ONMOUSEMOVE HTML event for map area at designtime .

ONMOUSEOUT

Delphi declaration
property ONMOUSEOUT: string read FONMOUSEOUT write FONMOUSEOUT;
C++ declaration
__property System::AnsiString ONMOUSEOUT={ read=FONMOUSEOUT, write=FONMOUSEOUT, nodefault }

Description
Use this property to set ONMOUSEOUT HTML event for map area at designtime .

ONMOUSEOVER

Delphi declaration
property ONMOUSEOVER: string read FONMOUSEOVER write FONMOUSEOVER;
C++ declaration
__property System::AnsiString ONMOUSEOVER={ read=FONMOUSEOVER, write=FONMOUSEOVER, nodefault }

Description
Use this property to set ONMOUSEOVER HTML event for map area at designtime .

ONMOUSEUP

Delphi declaration
property ONMOUSEUP: string read FONMOUSEUP write FONMOUSEUP;
C++ declaration
__property System::AnsiString ONMOUSEUP={ read=FONMOUSEUP, write=FONMOUSEUP, nodefault }

Description
Use this property to set ONMOUSEUP HTML event for map area at designtime .

RectBottom
Map area rectangle bottom coordinate

Delphi declaration
property RectBottom: Integer read FRectBottom write SetRectBottom;
C++ declaration
__property int RectBottom={ read=FRectBottom, write=SetRectBottom, nodefault }

Description

RectLeft
Map area rectangle left coordinate

Delphi declaration
property RectLeft: Integer read FRectLeft write SetRectLeft;
C++ declaration
__property int RectLeft={ read=FRectLeft, write=SetRectLeft, nodefault }

Description

RectRight
Map area rectangle right coordinate

Delphi declaration
property RectRight: Integer read FRectRight write SetRectRight;
C++ declaration
__property int RectRight={ read=FRectRight, write=SetRectRight, nodefault }

Description

RectTop
Map area rectangle top coordinate

Delphi declaration
property RectTop: Integer read FRectTop write SetRectTop;
C++ declaration
__property int RectTop={ read=FRectTop, write=SetRectTop, nodefault }

Description

Shape
Shape type

Delphi declaration
property Shape: TFRImageMapAreaShapes read FShape write SetShape default shapRect;
C++ declaration
__property TFRImageMapAreaShapes Shape={ read=FShape, write=SetShape, default=0 }

Description
At design time , circle coordinates are stored as a rectangle around t he circle .