CT Get display

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT Get display (area; item) Integer

ParameterTypeDescription
areaLongint4D Chart area
itemIntegerItem for which to get information
Function resultInteger0 = the specified item is not being displayed
1 = the item is being displayed

Description

Use CT Get display to find out whether certain features of the 4D Chart window are being displayed.

CT Get display returns 0 if the specified item is not being displayed, and 1 if the item is being displayed.

The menu bar, Chart Tool palette, Object Tool palette, scroll bars, and rulers can be hidden or displayed in the User environment or programmatically, using the CT SET DISPLAY command.

The codes for the item parameter are:

CodeItem
1Menu Bar
2Chart Tools
3Object Tools
6Scroll Bars
9Rulers

Example

This example checks to see if the menu bar is disabled and then disables it if it is not.

   If (CT Get display (Area;1)=1)
      CT SET DISPLAY (Area;1;0)
   End if 

See Also

CT SET DISPLAY.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next