Programming Window Titles

By default, the title of a form (or page, for that matter) is “Untitled,” which is not very descriptive or useful. You can use the Formula language to set the form title, which is a very good habit to get into. Just follow these steps:

1.
Open the form or page.

2.
Select the Window Title element on the Objects tab of the Programmer's Pane.

3.
Enter a formula in the Programmer's pane.

4.
Save the form or page.

5.
Test the form or page.

The following example illustrates the creation of a conditional window title:

@If(@isNewDoc;"New Contact";"Contact:"+tLastName+ " "+ tFirstName)

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.138.104