| 4D v15 R3HIDE WINDOW | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v15 R3
 HIDE WINDOW 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HIDE WINDOW {( window )} | ||||||||
| Parameter | Type | Description | ||||||
| window | WinRef |   | Window reference number or Current process frontmost window, if omitted | |||||
The HIDE WINDOW command hides the window whose number was passed in window or, if this parameter is omitted, the current process frontmost window. For example, this command lets you display only the active window in a process that consists of several processes.
The window disappears from the screen but remains open. You can still apply any changes supported by 4D windows programmatically.
To display a window that was previously hidden by the HIDE WINDOW command:
To hide all the windows of a process, use the HIDE PROCESS command.
This example corresponds to a method of a button located in an input form. This button opens a dialog box in a new window that belongs to the same process. In this example, the user wants to hide the other windows of the process (an entry form and a tool palette) while displaying the dialog box. Once the dialog box is validated, other process windows are displayed again.
  ` Object method for the "Information" button
 
 HIDE WINDOW(Entry) ` Hide the entry window
 HIDE WINDOW(Palette) ` Hide the palette
 $Infos:=Open window(20;100;500;400;8) ` Create the information window
 ... ` Place here instructions that are dedicated to the dialog management
 CLOSE WINDOW($Infos) ` Close the dialog
 SHOW WINDOW(Entry)
 SHOW WINDOW(Palette) ` Display the other windows
	Product:  4D
	Theme:  Windows
	Number:  
        436
        
        
        
	
	Created:  4D v6
	
	
	
	
	
	4D Language Reference ( 4D v15 R3)
	
	4D Language Reference ( 4D v15)
	
	
	
	4D Language Reference ( 4D v15.4)
	
	
	
	
	4D Language Reference ( 4D v15.3)
	
	
 Add a comment
Add a comment