It's done differently on pages, you need to do the following...
1) create a Boolean global var e.g. "NameEnabled" and set the IncludeInDataset property to Yes
2) in OnAfterGetCurrRecord set NameEnabled as appropriate
3) on the Name field set the "Enabled" property to the new var NameEnabled
Comments
1) create a Boolean global var e.g. "NameEnabled" and set the IncludeInDataset property to Yes
2) in OnAfterGetCurrRecord set NameEnabled as appropriate
3) on the Name field set the "Enabled" property to the new var NameEnabled
Here is control's triggers:
http://msdn.microsoft.com/en-us/library/dd301073.aspx