Skip to main content

96 docs tagged with "powerbutton widget"

View all tags
Guides

Button

The Button widget in LiveCode Create is a versatile and highly customizable component that allows users to add clickable buttons to their apps. Buttons are essential for creating interactive applications, enabling actions like navigation, data submission, and much more. This guide will walk you through how to add, customize, and use the Button widget.

Docs

autoarm

Specifies whether a widget becomes armed when the mouse pointer moves into it.

autohilight

Specifies whether a PowerButton widget highlights when it's pressed.

autoHilite

Specifies whether a PowerButton widget highlights when it's pressed.

autoHover

Specifies whether a widget becomes armed when the mouse pointer moves into it.

btnHighlightedIconPath

The path data displayed by the widget as icon when the button is in its highlighted state.

btnHighlitedIcon

The name of an SVG icon, which is displayed as an icon when the button is in its highlighted state.

btnIcon

The name of an SVG icon, which is displayed as an icon when the button is in its normal state.

btnIconPath

The path data displayed by the widget as icon when the button is in its normal state.

Button

This widget is a highly customizable button, maintains its appearance regardless of platform or OS.

centerElements

Specifies whether the icon and label of the widget (Button) are pushed to the center.

cursorToHand

Specifies whether to change the mouse cursor to 'hand'.

fillGradient

Specifies the gradient to use to fill the Button object in its normal state (Experimental)

highlight

Set the highlighted state of the widget.

highlightedLabel

Specifies the string to display in the text label that is drawn on the widget when its state is Highlighted.

hilite

Set the hilite state of the widget.

hiliteFillGradient

Specifies the gradient to use to fill the PowerButton object when it is hilited(Experimental)

hiliteIcon

The name of an SVG icon, which is displayed as an icon when the button is in its hilited state.

hiliteIconColor

The color with which the icon is drawn, when the button is hilited.

hiliteIconPath

The path data displayed by the widget as icon when the button is in its hilited state.

hiliteLabel

Specifies the string to display in the text label that is drawn on the widget when its state is hilited.

hoverColor

The color with which the background of the button is drawn when the pointer is over it.

hoverFillGradient

Specifies the gradient to use to fill the PowerButton object when the mouse is hovering (Experimental)

hoverIconColor

The color with which the icon is drawn when the pointer is over the button.

hoverLabelColor

The color with which the label is drawn when the pointer is over the button.

hoverWhenHilited

Allows the mouse hover effect to be generated when the button has the toggle property active.

icon

The name of an SVG icon, which is displayed as an icon when the button is in its normal state.

iconColor

The color with the icon is drawn when the button is in its normal state.

iconHoverColor

The color with which the icon is drawn when the pointer is over the button.

iconPath

The path data displayed by the widget as icon when the button is in its normal state.

iconPosition

Specifies the alignment that the icon has with respect to the sides of the button.

isHilited

Set the highlighted state of the widget.

isToggle

Specifies whether a button stays hilited after being pressed.

label

The label displayed by the button.

labelColor

The color with which the label is drawn.

labelHiliteColor

The color with which the label is drawn, when the button is hilited.

labelHoverColor

The color with which the label is drawn when the pointer is over the button.

margin

Specifies how much empty space is left on each side between the borders of the widget and its icon and label.

mouseDown

Sent when the user presses the mouse button.

mouseRelease

Sent when the user releases the mouse outside the control that was clicked.

mouseUp

Sent when the user releases the mouse button.

normalColor

Controls the background color of the button

opaque

Make the widget background solid.

pbHoverColor

The color with which the background of the button is drawn when the pointer is over it.

rippEffect

Shows the ripple Effect when pressed or not.

shadowColor

The color with which the drop shadow is drawn.

showIcon

Specifies whether the widget (Button) icon is visible.

showIconDivider

Specifies whether the widget (Button) icon divider is visible.

showLabel

Specifies if the label of the widget is visible.

showName

Specifies if the label of the widget is visible.

showShadow

Whether the widget has a shadow or not.

textAlign

Specifies the alignment that the text displayed in the label has with respect to the sides of the button.

textAlignment

Specifies the alignment that the text displayed in the label has with respect to the sides of the button.

transparentBackground

Specifies whether the background of a button is transparent when its state is normal.

variant

Apply a predefined style to the widget.

wrapText

Wrap text to match available width.