Fandom

Livecode Wiki

Button

2,161pages on
this wiki
Add New Page
Comments0 Share

Push, square, round buttons, check boxes and radio buttons, are all just buttons.

The radio buttons must be grouped, and their status is the hilite property.

The buttons have the followings properties:

Basic PropertiesEdit

  • Name
  • IconGravity
  • Label, the option style use label for the selected item.
  • tool tip
  • Style (see slideshow on the right):
    • Push button
    • Square button
    • round button
    • transparent button
    • opaque button
    • shadow button
    • check box
    • radio button
    • option
    • combobox
    • popup
    • pull down
  • Style options:
    • visible: if it's set false, it's invisible. When an object is invisible use the stack browser to edit it.
    • opaque: if it's set false, it has the same color of the background
    • show name: if it's set false, the label is not shown
    • auto hilite
    • shared hilite
  • shortcut and hint
  • Focus with keyboard
    • Show focus border
  • Mnemonic
  • Default button
  • Disabled
  • Layer mode
  • Behavior

Icons & BorderEdit

  • Icon
  • Hilite Icon: icon when the button is pressed
  • Disabled Icon: icon when the button is disabled
  • Visited Icon: icon when the button was pressed at least one time. You can reset a visited button setting the visited property to false
  • Armed Icon
  • Hover Icon: when mouse is on the object
  • Three D: effect of the button
  • Border: border of the button
  • Hilite border: special border when pressed
  • Border width
  • Shadow: shadow effect of the button
  • Shadow offset: distance of the shadow from the button

Colors & patternsEdit

Here you can set the color of various elements of the button. You can choose a pattern instead of a color.

Custom propertiesEdit

Custom properties are the best replacement for variable in Livecode. You can use variables in Livecode, but usually they are just temporary; on the contrary custom properties are real containers for all your data. Easy to recover and to check.

GeometryEdit

See Geometry manager

Graphic effectsEdit

Here yo can activate and mix many effects:
GraphicEffects
  • drop shadow
  • inner shadow
  • outer glow
  • inner glow
  • color overlay

If you activate the drop shadow, you can manipulate all aspects of it (color, opacity, position, etc.) with the submenu.

BlendingEdit

The blending effect is a way to make the object transparent,  you can choose between many way to render the resulting object (arithmetic, subpin, etc.). You can choose the percentage of blending your object with the background.

Property profilesEdit

All the property of an object are inherited from a master profile, however you can add and change profile. This way all objects will have the same properties, will look the same or act the same.

Size & PositionEdit

Here you can

  • specify the size of the object
  • fit it to text content
  • set location using the center of the object or its borders
  • lock size and position
  • choosing which element is above the others, specifying object layer

Text formattingEdit

Here you can change:

  • font type
  • font size (you can enter size directly, you are not restricted to the few showed)
  • font style:
    • plain
    • bold
    • italic
    • underlined
    • boxed
    • boxed 3D
    • link
    • stroked
  • alignment
  • margins

You can also change all letter to uppercase, lowercase or else using the last button.

All propertiesEdit

These are quite all properties of a button (help us to fill this list):

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.