Difference between revisions of "CreateSelectionContext"

From VisionaireWiki
Jump to navigation Jump to search
(Removing all content from page)
m (Bot (Edward's framework))
 
Line 1: Line 1:
 +
==createSelectionContext==
 +
Connects the selection of two controls.
  
 +
When connected, the destination control is notified about changes to the selection in the source control.
 +
 +
Lua Syntax:
 +
<pre>createSelectionContext(window2, window1 [, bidirectional], {flags=1,
 +
    select = int})</pre>
 +
===Arguments===
 +
====window2====
 +
:'''"string"''' - The source control, the destination control is notified about changes in this control.
 +
====window1====
 +
:'''"string"''' - The destination control.
 +
====bidirectional====
 +
:'''true|false''' - If given the first control is also notified about changes in second control.
 +
===Flags===
 +
====s/select====
 +
 +
:Defines the selection context of the source control which will be used. 0 is the default selection context, 1 is the alternative selection context (only supported by specific controls, e.g. objectTree) and 2 is the detail selection context (selected sub-object). Default value is 0.
 +
===Return Values===
 +
None.

Latest revision as of 12:57, 16 August 2009

createSelectionContext

Connects the selection of two controls.

When connected, the destination control is notified about changes to the selection in the source control.

Lua Syntax:

createSelectionContext(window2, window1 [, bidirectional], {flags=1, 
    select = int})

Arguments

window2

"string" - The source control, the destination control is notified about changes in this control.

window1

"string" - The destination control.

bidirectional

true|false - If given the first control is also notified about changes in second control.

Flags

s/select

Defines the selection context of the source control which will be used. 0 is the default selection context, 1 is the alternative selection context (only supported by specific controls, e.g. objectTree) and 2 is the detail selection context (selected sub-object). Default value is 0.

Return Values

None.