Form captions, naming conventions

All forms must have captions. The form caption displays in the title bar or tab of the form (depending on whether you are viewing forms in Classic or Tabbed UI format).

When you create a form, WinStudio uses the form name you assigned to it as the caption. This, however, is not usually a desirable way to name a form. For example, the form name of the form commonly known as the Users form is actually "UsersMaint", which would probably be confusing to most users.

Because of this, we recommend that you recaption the form as soon as possible after creating it. The best way to do this is with a translatable string, so that the form caption can translate automatically if the user's display language changes. These translatable strings are stored as string objects in the WinStudio's Strings table.

Translatable strings used for form captions typically begin with a lower-case 'f'. This convention indicates to WinStudio to look for the corresponding form caption string in the Strings table.

注意:We recommend that you use names containing only alphanumeric characters and the underscore (_) character. Alphanumeric characters include the letters a-z, either upper case or lower case, and the numerals 0-9.
相关主题