Skip to content

TWebJQXButton

Description

Below is a list of the most important properties methods and events for TWebJQXButton. Represents a button with optional image.

Designtime Runtime

HTML template tag

The HTML tag the component can be associated with in an HTML template. Assign the ID attribute with a unique value and set the identical value to the ElementID property. Detailed information can be found in the Use of HTML templates topic.

HTML tag <DIV ID=”UniqueID”></DIV>
ElementID UniqueID

Properties for TWebJQXButton

Property Description
Caption Sets the caption text of the button
CaptionPosition Sets the position of the caption text
CaptionImageRelation Sets the position of the image relative to the caption text
ElementClassName Optionally sets the CSS classname when styling via CSS is used
ElementID Optionally sets the HTML element ID for a HTML element in the form HTML file the label needs to be connected with. When connected, no new control is created but the Delphi class is connected with the existing HTML element in the form HTML file
ImageURL Sets the URL of the image to be displayed in the button
ImagePosition Sets the position of the image
ImageHeight Sets the height of the image in pixels
ImageWidth Sets the width of the image in pixels
RoundedBorders Sets if the button is displayed with rounded borders
Template Sets if the button is displayed with rounded borders
Theme Sets the name of the theme that is used to display the control

Events for TWebJQXButton

Property Description
OnClick Event triggered when the button is clicked