MidItems.TWebButton

From RAD Studio API Documentation
Jump to: navigation, search

WebComp.TWebContainedComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TWebButton

Delphi

TWebButton = class(TWebContainedComponent, IWebContent)

C++

class PASCALIMPLEMENTATION TWebButton : public Webcomp::TWebContainedComponent

Properties

Type Visibility Source Unit Parent
class public
MidItems.pas
MidItems.hpp
MidItems MidItems

Description

TWebButton is the base class for Web items that create HTML button controls.

Use TWebButton as a base class for components that generate the HTML statements defining a specialized button control in a WebSnap or InternetExpress application. TWebButton introduces the properties and methods for

Generating the HTML code to define the button control.

Defining a button caption.

Specifying tag attributes of the HTML button control, including those defined by a style sheet.

In order to allow other Web items to use the HTML generated by the button control, TWebButton implements the IWebContent interface.

Do not create instances of TWebButton. TWebButton relies on an abstract or, in C++ terminology, pure virtual method to generate the HTML statements defining a button control. Instead, create descendants of TWebButton that represent buttons with specific purposes.

See Also

Personal tools
Translations