PowerBuilder编程技巧
PowerBuilder’s initialization file (PB.INI) contains a number of different sections that corre-
spond to different PowerBuilder painters. Each section has a number of keywords defined for
it that store the individual settings. The major sections are as follows:
■ Application—Changes all application preferences.
■ Window—Changes options used in the Window painter.
■ Menu—Changes options used in the Menu painter.
■ DataWindow—Changes options used in the DataWindow painter.
■ Database—Changes options used in the Database painter.
■ Library—Changes options used in the Library painter.
■ Debug—Changes options used during debugging.
■ PowerBuilder—Changes systemwide PowerBuilder options.
There are also smaller sections for the SQL Painter, database profiles, the Object Browser, help,
and toolbar settings. While you can edit the PB.INI file directly, most settings contained in
here are automatically saved as you make changes in PowerBuilder. To edit the PB.INI, use
your favorite text editor or press Shift+F6 from within PowerBuilder to open the File Editor.
In the following pages you will take a look at many of the keywords for each of the different
INI sections.
