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 *
  Action
  Image
  Menu *
  Script *
  Language *
  Anchors
  Text
  Enabled
  TabOrder
  Visible
Common Events:
  OnClick *
Visual Object Reference
  Common Properties
  Common Events
  ActiveX
  Button
    Down
    Kind
    ModalResult
    Spacing
    Default
    ToggleButton
    Cancel
    Layout
    DropDownMenu
  Checkbox
  CheckGroup
  ColorBtn
  Column
  Combo
  Dock
  Edit
  Grid
  Group
  Image
  Item
  ItemSep
  Label
  List
  Memo
  Menu
  Navigator
  Node
  Page
  Pages
  Panel
  RadioGroup
  Ruler
  SpinEdit
  Splash
  Splitter
  StatusBar
  Style
  Tab
  Tabs
  Toolbar
  Tree
  Window
Related Links:
  Button
  Image
  AddControl
  CreateObject
Button [[zButton]] 
NOTE: This Design document is subject to change at any time.

Syntax: <BUTTON property-list>Script</BUTTON>

The Script is executed when the button is clicked. The Image property can be used to add any type of image to the button. The Caption text is displayed on the button.

Typically, a zAction is assigned to the button. When the button is clicked, the Action is executed first, followed by any script specific to the button itself.

In addition to standalone buttons, you can also place buttons within various edit controls, such as zEdit and zCombo. When used within edit controls, the Button.Edit subclass is used, which doesn't have as many properties as normal buttons.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net