KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Can I prevent users from editing a 4D Write area?
PRODUCT: 4D Write | VERSION: 2004 | PLATFORM: Mac & Win
Published On: February 17, 2006

4D Write has a command that allows you to lock a 4D Write area.

WR LOCK DOCUMENT (area; status)

















Parameter Type Description
area Longint 4D Write Area
status Integer 0 = unlocked

1 = locked


This command prevents users from modifying the 4D Write area referenced by area. Once the document is locked, users cannot paste text, cut text, enter or modify text. Scrolling, copying, searching and printing the document are still possible.