UPDATEINDENT Function (Text Box)

Microsoft Dynamics Nav 2009

Sets the Indent Property of a text box.


UPDATEINDENT(Indent)

Parameters

Indent

Type: Integer

The indentation in 1/100 of a millimeter.

This function is not supported in the RoleTailored client.

The Indent Property can only be set by using this function from the OnFormat Trigger of the text box. It cannot be set from the property sheet.

The intended use is to provide some means of structuring information in a tabular form by indenting the contents of a text box, based a hierarchy. For examples of other functions that are used for similar purposes, see UPDATEFORECOLOR Function (Control) and UPDATEFONTBOLD Function (Control).

You can use this function to indent a text box in a tabular form according to the value in another field.

CurrForm.Name.UPDATEINDENT(Level * 220);

The Level field contains integer values from 0 and upward. The higher this value, the more indentation is added to the text box that displays the contents of the Name field.

Community Additions

ADD
Show: