Log In    |    Knowledge Base    |    4D Home
Tech Note: Disabling Tab Controls
Published On: September 1, 1997
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

One of the new active objects that is available in Version 6 is a tab control. Tab controls allow the developer to present information in a multi-page format that changes when the user clicks on a tab. The tab control can be used as a page navigation tool or to show information in categories. Individual tabs can be disabled, as shown in our example database.

Tab controls get their values from arrays or lists. You can detect which item is clicked by using the Selected list item command. This will return the “List” item reference number that can be used by other commands such as SET LIST ITEM PROPERTIES. You can then enable or disable a tab by setting its list item’s “Enterable” property to True or False.

This technical note explains how to enable and disable tab controls.

Tech Note