ACC1x: No Form Caption in Run-Time Application

ID: Q109937


The information in this article applies to:


SUMMARY

If you build an application to be distributed, make sure to include the TitleBar statement in the [Run-Time Options] section of your application's .INI file. If you do not, the title bar in your application will not display a caption. Additionally, no caption will be displayed when a table, query, form, or report is maximized.


MORE INFORMATION

The following example demonstrates how to correctly modify the [Run-Time Options] section of your application's .INI file:

  1. Use a text editor such as Notepad to modify the [Run-Time Options] section of your application's .INI file to match the following:
    
          [Run-Time Options]
          TitleBar=This Is My Application 


  2. Run your application. Note that the application title bar displays the caption:
    
          This Is My Application 


  3. Maximize an object such as a table, query, form, or report. Note that the application title bar displays the caption:
    
          This Is My Application - [xxxxxx] 


  4. Close your application.


  5. Modify the [Run-Time Options] section of your application's .INI file to match the following:
    
          [Run-Time Options]
          ;TitleBar=This Is My Application 

    The semicolon comments out the line so it is ignored.


  6. Run your application again. Note that the application's title bar is empty.



REFERENCES

Microsoft Access "Distribution Kit Guide," version 1.1, "Custom Initialization (.INI) File," pages 5-7

Additional query words: adk runtime title caption


Keywords          : kbusage FmsOthr 
Version           : 1.1
Platform          : WINDOWS 
Issue type        : kbinfo 

Last Reviewed: April 2, 1999