str Property;
TreeNode TreeNode;
str Name;
;
Name = "CustTable";
TreeNode = TreeNode::findNode("Data Dictionary\\Tables\\" /*+ Table*/);
if (TreeNode)
{
ttsbegin;
Property = TreeNode.AOTgetProperties();
Property = SetProperty(Property, "visible", "Yes");
TreeNode.AOTsetProperties(Property);
TreeNode.AOTcompile();
TreeNode.AOTsave();
}
________________________________
From: christian.myrvold <[email protected]>
To: [email protected]
Sent: Monday, February 2, 2009 6:45:33 PM
Subject: [development-axapta] How to show field hidden by user in X++
Hey everyone,
I've searched both the group postings and google for this, and haven't
found anything yet. I need to either:
1. Show a field in a form immediately after a user hides it (so it
looks like the "hide functionality" doesn't work), or
2. Disable the hide functionality when a user right clicks on the field.
I would say the the first is preferrable, if it's at all possible.
Sincerely,
Chris