[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgComponent

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A descendant of the FPC TComponent class

Declaration

Source position: fpg_base.pas line 426

type TfpgComponent = class(TComponent)

public

  constructor Create(); override;

  property TagPointer: Pointer; [rw]

published

  property HelpContext: THelpContext; [rw]

  property HelpKeyword: TfpgString; [rw]

  property HelpType: THelpType; [rw]

end;

Inheritance

TfpgComponent

  

A descendant of the FPC TComponent class

|

TComponent

?

TObject

Description

A descendant of the FPC TComponent class. It adds a location where we can extend the TComponent, without having to make changes to each and every class in fpGUI.

For example: We added the TagPointer property (which is now largely obsolete) because a while back the Tag property of TComponent could only store a 32bit value. Many developers used it to store a pointer reference to a object under 32-bit system, but this was not possible under 64-bit systems. After some time, FPC finally updated the type of the Tag property to support 64-bit addresses too.


Documentation generated on: 2015-04-04