KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Make a 4D Write Pro form object read only
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: October 25, 2018
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Ever wanted to make your 4D Write Pro document read only to the end user? This is possible with setting the 4D Write Pro form properties or by code as shown below:

1. Setting the 4D Write Pro property in the property list:




2. Setting by code:

// Disable entry to the 4D Write Pro object
OBJECT SET ENTERABLE(*;"WriteProArea";False)

// Disabling the Context Menu to the 4D Write Pro Object
OBJECT SET CONTEXT MENU(*;"WriteProArea";False)