Drop-down Lists

The drop down lists provide the capability to access and edit code blocks.

Drop-down List

Function

Object

This is a list of top-level objects for the user to choose from, including Initialization (edit initialization code), Forms (a selection for each top-level form in the resource), End of Job (edit end of job code), Subroutines (a selection for each subroutine/function defined in the .gbf file), and New Subroutine/Function. The other three drop-down lists are only functional if the user selects a Form ID in this list.

Window

If the user selected a Form in the Object list, this will contain a list of windows defined for that form. First on the list is the form itself, followed by child windows, if any. If there are no child windows, the Window list box will show the Form ID, and it won't be editable by the user.

Control

After a window has been selected in the Window list, the user can choose a control in the Control list. First on the list of controls will be the window (or form), because events can be defined for windows. Following the form/window will be the list of controls on that window. If the window contains no controls, the form/window will be automatically selected, and it won't be editable by the user.

Event

After a control has been selected in the Control list, the user can choose an event in the Event list. If there is only one event defined for the selected control (e.g. a tool button), the event is automatically selected, and the user is taken directly to the edit window to create or edit the event handler code, or the external editor menu choice and tool button are enabled. If there is more than one possible event for the selected control, you can select one from the list. An "*" in front of an event means that an event-handler routine already exists for that event code. If the event list says "-----No Events Defined-----", then the selected control doesn't have any events (e.g. a group box). If the event list says "-----No Events Visible-----", then the selected control does define at least one possible event, but the events defined for this control are not visible based on the event mask set in the resource file. Toggle the "Show All Events" tool button to see all of the events. To use an event that's not visible, you'll need to edit the event mask in the resource file.