[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] Reference for unit 'fpGUI' (#fpgui)

TBinWidget

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

This is a concrete class that implements all the TContainerWidget's abstract methods

Declaration

Source position: bin.inc line 22

type TBinWidget = class(TContainerWidget)

protected

  FChild: TWidget;

  

  procedure SetChild();

  

  function GetChildCount; override;

  

  function GetChild(); override;

  

  procedure CalcSizes; override;

  

public

  property Child: TWidget; [rw]

  

  function ContainsChild(); override;

  

  procedure InsertChild(); override;

  

  procedure RemoveChild(); override;

  

end;

Inheritance

TBinWidget

  

This is a concrete class that implements all the TContainerWidget's abstract methods

|

TContainerWidget

  

TContainerWidget is an abstract class that defines the interface for containing other widgets

|

TWidget

  

The TWidget class is the base class of all user interface objects.

|

TComponent

?

TObject

Description

This is a concrete class that implements all the TContainerWidget's abstract methods . This class adds the ability to contain a single child widget - normally a TLayout descendant. Examples of such classes are the TForm and TGroupBox . For examples of container classes that can hold multiple children, look at TLayout and it's descendants.

See also

TContainerWidget

  

TContainerWidget is an abstract class that defines the interface for containing other widgets

TLayout

  

The fpGUI layout system provides a simple and powerful way of specifying the layout of child widgets

TGroupBox

  

The TGroupBox widget provides a group box frame with a title

TForm

  

A descendant of TCustomForm with published properties