OBJNAME keyword
The OBJNAME keyword is used to support string look-up for the object name of a form. The Object Name is used to name the Objects menu and to prompt the user if he or she closes a form without saving application data.
This keyword is used most frequently for forms which use an object in their data source that is not the primary collection for the form. Alternately, this keyword can be used for forms which have no data source at all.
WinStudio retrieves the object name from the primary data source. WinStudio then looks for a string named "o" + objectname, and if such a string exists, it uses the value of that string. Finally, WinStudio checks for the presence of the OBJNAME keyword in the primary data source. If the keyword is present, WinStudio retrieves the value of the keyword and tries to look up a string by that name. If the string is found, the string's value is the object name for the form. Otherwise, the content of the OBJNAME keyword is the object name for the form.