Checking Resources
To check a GUIBuilder (.gbf) file against the corresponding resource file, do the following:
1. Do one of the following:
-
On the Program menu, select Check Resource.
-
On the toolbar, click the Check Resource button.
2. If no errors are found, the following message is displayed:
"This GUIBuilder file is consistent with resource file 'filename'. No errors found." If any errors are found in the resource file, the Resource File Error dialog is displayed, with one of the following messages:
Corruption Type |
Message(s) |
Resource file is corrupt. |
Missing [Program] block. |
Resource file is corrupt. or unavailable. |
Couldn't open resource file 'filename'. |
The .gbf file refers to data structures that no longer exist in the resource file: |
Window ID X no longer exists in the resource file. |
3. In addition to one of the above messages, GUIBuilder asks the following question:
"Delete n event handler routine(s) from the .gbf file?" Select one of the following:
-
Yes - Go ahead and delete the routine(s) from the .gbf file.
-
No - Retain the routine(s) in the .gbf file.
-
Cancel - Stop resource checking process.