KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Setting a field to invisible through XML structure
PRODUCT: 4D | VERSION: 15.x | PLATFORM: Mac & Win
Published On: May 26, 2016

Although there are no 4D commands to set a field of a table invisible programatically and in runtime as a one shot, there is an alternative by modifying the XML structure. When a structure is exported thorough the EXPORT STRUCTURE command or by the menu (File->Export->Structure Definition to XML), a tag is created for the table that has an invisible field as shown below:




Adding this line to a field and importing the structure back can update the table either by using the IMPORT STRUCTURE command or by the menu (File->Import->From file).

See Also: