RE: How can I get value of TreeView selected Node in VBA?
The following example shows how you can call Dexterity SanScript code from VBA
winthropdc.wordpress.com/.../
Here is some example code:
local long node_ID;
local string node_label;
{Get the ID of the selected node.}
node_ID = TreeView_GetSelectedNode('TreeView' of window WindowName of form FormName);
if node_ID <> TV_NODEINVALID then
{Get the node label.}
node_label = TreeView_GetNodeLabel('TreeView' of window WindowName of form FormName, node_ID);
else
warning "No item is selected in the Address List field.";
end if;