KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Quick way to apply change to a property of multiple form objects
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: September 6, 2019

When using a command that accepts an object name parameter, a wildcard can be included in the parameter to reference multiple objects with a single command call.

For example, this is the code to disable object1 and object2 on the form:

OBJECT SET ENABLED(*;"Object1";False)
OBJECT SET ENABLED(*;"Object2";False)

It can be rewritten like this:

OBJECT SET ENABLED(*;"Object@";False)