[X++] Folder Lookup with FilePath on forms

Today I am writing myself a little reminder and I hope you can use it sometime, too.

When using a field extended by the Extended Data Type FilePath on a form
the user expects to see the following "Browse for Folder" dialog after clicking on the folder icon next to the field:

Browse for Folder dialog on form

Unfortunately the folder icon does not show the "Browse for Folder" dialog initially.

To get the desired behavior of seeing the "Browse for Folder" dialog on clicking the folder icon next to the field, AX needs a method on form level to set the title of the dialog.
So adding the following method on form level should solve the problem:

public LabelString filePathLookupTitle()
{
    return "@SYS77620"; // Select directory
}