Helpful hints for environment management
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Many variations in the typical scenario are possible, but this is a summary of important tasks to consider in any application that uses multiple environments:
- Before defining colors and fonts for immediate use at runtime, set
or adjust the size of the current color and font tables as required
using the
NUM–ENTRIESattribute of theCOLOR–TABLEandFONT–TABLEhandles. - Use the
PUT–KEY–VALUEstatement with theCOLORandFONToptions to save newly created and newly modified color and font definitions from the current color and font tables to the current environment. - Always set a current environment with the
USEstatement before or after executing theUNLOADstatement for the current environment, even if the current environment you set is the default environment. Otherwise, the AVM returns an error when you attempt to display or enable a widget.