KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: What does AREA mean when I see it used in the plug-ins documentation?
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: February 21, 2003
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Compatibility: Version 6.7.x and 6.8.x

You will see the word AREA used in just about every single plug-in command. AREA is the variable name to identify the plug-in area you are using.

For example, let's say that you have placed 4D WRITE on a form. In the properties dialog box, under objects, you will see a field for"Variable Name." Every time you want to manipulate the area, you need to tell 4D what to do and to whom.

Let's look at a simple command.
WR DELETE SELECTION (AREA)
https://ftp.4d.com/aci_Technical_notes/ACIDOC/CMU/CMU89449.HTM

WR DELETE SELECTION(MyWrite)
`do what? Delete the selection
`to whom? MyWrite

In the above example, MyWrite is the "Variable Name."