Property : Close Trigger

Changes Locked Out for Planned Maintenance
Page Status: Beta
Jump to: navigation, search

Back to Properties

Contents

[edit] Description

Use the Close Trigger property to specify an object that, when changed, will cause the form to close.

This property can be used in conjunction with other properties such as, Auto Cancel, Check Dirty on Close, Close Function, Close Means Cancel, Close Result.

You can bind the Close Trigger property to a Boolean or a string.

  • When bound to a Boolean, if True, then the form closes with OK (Close Result is set to OK). If False, the form closes with Cancel (Close Result is set to Cancel).
  • When bound to a string, if the string equals OK (a case insensitive compare is used), then the form closes with OK (Close Result is set to OK). For any other string, the form closes with Cancel (Close Result is set to Cancel).

[edit] Property Editor Location

Behavior Tab

[edit] Data Type

Path to Object

[edit] Default Value

Class Member     Default Value
Form <not set>

Log in if you would like to rate this page.
    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.