Hide columns or fields from smaller-resolution screens

The new onSize event, @RelayoutWindow command, and @ResolutionWidth and @ResolutionHeight formulas allow you to hide columns and fields when they are displayed in smaller-resolution screens.

These new design elements are particularly useful for applications accessed through mobile devices with smaller screen size.

Hiding columns

To hide a column from a view based on screen resolution width:
  1. Open the view.
  2. In the Objects pane, select onSize and in the Run pane, enter @Command([RelayoutWindow]).
  3. Select the column.
  4. Open the Properties box for the column. For the Hide column if formula is true property, enter the formula @ResolutionWidth<value, where value is a width in number of pixels. If screen resolution is equal to or less than the width, the column is hidden.

Hiding fields

To hide a field from a form based on screen resolution height:
  1. Open the form.
  2. In the Objects pane, select onSize and in the Run pane, enter @Command([RelayoutWindow]).
  3. Select the field.
  4. Open the Properties box for the field. For the Hide paragraph if formula is true property, enter the formula @ResolutionHeight<value, where value is a height in pixels. If screen resolution is equal to or less than the height, the field is hidden.