Fandom

Livecode Wiki

Tab panel

1,968pages on
this wiki
Add New Page
Comments0 Share
Tabpanel
Tab panel is just an optical illusion, it doesn't contain any elements. You have to create and show and hide elements.

The best way to use it is transform tab panel in background common to various cards: all the procedure is described here http://lessons.runrev.com/s/lessons/m/4071/l/7574-using-tab-buttons.

Try always to group all elements persistent in multiple cards.

Typical code on tab panel is:

on mouseUp
 go to card value(the selectedline of button "Tab Menu" )
end mouseUp

Basic PropertiesEdit

  • Name
  • Label
  • tool tip
  • Style options:
    • visible: if it's set false, it's invisible. When an object is invisible use the stack browser to edit it.
    • disabled: it becomes gray  and unusable (freezed)
    • dispaly name: display current tab name in the center of the current panel
  • tabs names: evey line is a new tab
  • Layer mode
  • Behavior

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 replacemnte for variable in Livecode. You can use variables in Livecode, but usually they are just temporary; on the contrary cutom properies 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 manitulape 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 (artihmentic, subpin, etc.). You can choose the percentage of blending your objenct 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 all TAB panel properties (help us to complete 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.