Databinding: scope of binding source and of binding target

The Dyalog "Knowledgebase". This forum is read-only
Forum rules
The FAQ is a read-only forum which is in general updated only by employees of Dyalog Ltd. It replaces the FAQ page which existed under http://www.dyalog.com. Rather than rejecting other posts to this forum, such posts will be put in a moderation queue, and moved to a more appropriate forum.

Databinding: scope of binding source and of binding target

Postby AndyS|Dyalog on Wed Jul 30, 2014 11:11 am

Currently it is essential to ensure that a variable used as the binding source MUST remain in scope while the binding target exists. If the variable is removed (by, for example, erasing it, or exiting a function which localised the variable) then APL will cease running. It may be best therefore to create such variables as global variables, or to ensure that both variable and target (usually a WPF GUI) are in the same scope. Data binding is performed by using 2015⌶.
User avatar
AndyS|Dyalog
 
Posts: 164
Joined: Tue May 12, 2009 6:06 pm

Return to Frequently Asked Questions (FAQ)

Who is online

Users browsing this forum: Google [Bot] and 1 guest