This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
_O_SET SCREEN DEPTH

_O_SET SCREEN DEPTH 


 

_O_SET SCREEN DEPTH ( depth {; color {; screen}} ) 
Parameter Type   Description
depth  Longint in Depth of the screen (number of colors = 2 ^ Screen depth)
color  Longint in 1 = Color, 0 = Gray Scale
screen  Longint in Screen number, or main screen if omitted

Compatibility Note: Starting with 4D 20 R7, this command has no effect under macOS. 

_O_SET SCREEN DEPTH changes the depth and color/gray scale settings of the screen whose number you pass in screen. If you omit this parameter, the command is applied to the main screen.

For details about the values you pass in color and depth, see the description of the command SCREEN DEPTH.



See also 

SCREEN DEPTH

 
PROPERTIES 

Product: 4D
Theme: Deprecated Commands
Number: 537

This command is deprecated and should not be used anymoreThis command has platform-specific behavior

 
PAGE CONTENTS 
 
HISTORY 

New
Modified: 4D v11 SQL
Modified: 4D v20 R7

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)