About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

 Related 
Contents
Common Properties:
  Name *
  Left *
  Top *
  Width *
  Height *
  Align *
  AutoLeft *
  AutoTop *
  DeltaLeft *
  DeltaTop *
  DeltaRight *
  DeltaBottom *
  AutoCenter *
  FullWidth *
  DataSource
  Field
  Anchors
  Text
  Enabled
  Hint *
  Visible
Visual Object Reference
  Common Properties
  Common Events
  ActiveX
  Button
  Checkbox
  CheckGroup
  ColorBtn
  Column
  Combo
  Dock
  Edit
  Grid
  Group
  Image
  Item
  ItemSep
  Label
    HTML in Labels
    ColorTo
    Color
    BevelInner
    BevelOuter
    BevelWidth
    BorderStyle
    Ellipsis
    GradientType
    URLColor
    ShadowColor
    ShadowOffset
    Update
    OnJump
  List
  Memo
  Menu
  Navigator
  Node
  Page
  Pages
  Panel
  RadioGroup
  Ruler
  SpinEdit
  Splash
  Splitter
  StatusBar
  Style
  Tab
  Tabs
  Toolbar
  Tree
  Window
Related Links:
  Caption
Label [[zLabel]] 
NOTE: This Design document is subject to change at any time.
Label

Syntax: <LABEL property-list>Caption</LABEL>

A Label is used to display static text on the screen. Labels in zApp can contain a limited amount of HTML, and can even include gradient background fills, making them useful as section headings.

Labels can also contain Template strings (see zTemplate for syntax details), which is useful when the DataSource has been set but you want to refer to multiple data fields in the label. For example:
Label.Caption = "{#CustomerID#}: {#CustomerName#}"
would produce labels in the format "nnn: name" where nnn is the customerid field value and name is the customername field value.

When using templates with a Datasource, the label is automatically updated when the data source changes. Otherwise, to update a template label, call the Update method.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net