Form Builder - Tips & Tricks

[Table of Contents]

Adding a Custom Icon to a Form

You can add a custom icon to both List and Detail forms. Simply drop a 24 x 24 pixel transparent gif into the Icons directory in the application root. Then ammend the "Icon=" property of the appropriate control, specifying just the file name of your icon.

... Icon="MyIcon.gif" ...

For List forms, amend the "Icon=" property of the ExDataGrid control.

For Detail forms, amend the "Icon=" property of the XForm control.

Getting Sort Functionality In a List Form

You can add sort order functionality to a list form, including the ability to re-order items using a move up sorting arrow, by specifying the Sort Column property in the Form Definition.

  • The sort column must an integer type (int, bigint, tinyint).
  • By default items will be re-numbered from zero every time the sort button is clicked. To alter this functionality, you will need to amend the ReNumberSort() function in the form's code behind.