sc_head_hide()

 

This macro is intended to hide the application header.

With no mandatory parameter, the macro is available in the following applications:

  • Form
  • Control
  • Graphic
  • Grid

In the Grid application, in addition to its standard use (without parameters), it is possible to individually define the module where the display of the header will be inhibited.

Below is the list of unique grid parameters

 

  • grid - Hide only the header of the grid module
  • res or sum - Hide only the summary module header
  • det - Hides the detail module header

 

Remembering that the parameters are not mandatory, in the case of the grid application, if no parameter is informed, the header display will be inhibited in all modules.

 

Examples


Eg. no parameter - Default use of the macro, without passing a parameter, inhibits the display of the header in the Form, Control, Chart and in all modules of the Grid.

sc_foot_hide();

 

Below are examples of using the macro with parameter, exclusively for use in the grid


Eg. using the 'grid' parameter - Inhibits the header view only in the grid application grid module.

sc_foot_hide('grid');

 

Eg. using the 'sum' parameter - Inhibits the header view only in the grid application summary module.

sc_foot_hide('res'); or sc_foot_hide('sum');

 

Eg. using the 'det' parameter - Inhibits the header view only in the grid application detail module.

sc_foot_hide('det');

 

Eg. using more than one parameter - Inhibits the visualization of the header in the grid application and detail module.

In this case the parameters must be separated by a comma.

sc_foot_hide('grid,det');