GAB Forms Designer
- 1 Menu Bar
- 1.1 File
- 1.2 Edit
- 1.3 View
- 1.4 Format
- 1.5 Help
- 2 Toolbox
- 3 Project
- 4 Properties
Create new form (Ctrl + N). Adds a new form to the project, can add multiple forms to the same project
Select the form to be edited.
Delete selected form.
(Ctrl + S) - Saves project back to the Text Editor
Exit/close form designer.( Ctrl + Q) - Asks User to save before closing Forms Designer
(Ctrl + C) - Allows user to copy screen elements to same screen or containers on a screen.
(Ctrl + V) - Pastes what the user has copied to the clipboard
Delete Selected Control(s)
Delete selected control or group of controls that are selected.
Tabstop is where the curser will land as user tabs through screen. As the Tab Stops are recording the status bar will read Recording tab stops. The tab stop number will show up on the control as you click. To commit changes stop recording with Ctrl+R it will ask if you would like to commit the tab stop changes.
Show Tab Stops
Show tabstop property for each control.
Start recording Tab Stops
Start the process of recording/saving tabstop for controls. This item will become “Stop recording Tab Stops” after the item is clicked.
Clear Tab Stops
Delete all tabstop records for all control.
Toolbox includes all controls available for usage in forms. Choose this to make toolbox visible or invisible.
This indicates the current project, includes all forms created for this project. Choose this to make project section visible or invisible.
This section shows properties and events of the selected control with alphabetical or categorized order. You can change values of selected control’s properties, and make new event by clicking its cell and ‘New,’ or use this to choose action/subroutine to take/happen when this event is fired. Choose this to make properties section visible or invisible.
Align is used to determined position of a group of selected controls.
Sending feedbacks by reporting a problem or giving a suggestion, any suggestion or report is greatly appreciate.
This section includes all controls for use.
Select one of the controls from the Tool Box, the control will appear on the form at the top left corner.
List of Controls (in order of the screen (across then down))
- Command Button
- Check box
- Radio Button
- Combo box
- List box
- Horizontal Scroll Bar
- Vertical Scroll Bar
- Picture Box
- Multi-Line Text Box
- Progress Bar
- List View
- Tree View
- Date Picker
- Month View
- Rich Text box
- Hierchacal Flex Grid
- Web Browser/HTML Container
- Drop Down List
- Horizontal Spin
- Vertical Spin
- Global Shop Flex Grid
- Global Shop Grid control
Copy and Paste Controls
Select the controls that need to be copied, press Ctrl + c, to copy the controls, press Ctrl + v to paste the copied controls, they will appear in the top left position of either the Form, or the container control.
This indicates the current project, includes all forms created for this project.
Moving controls to other controls or parent controls
Controls that can be used as parents are the Frame and the Tab controls.
For all other controls in the property section there is a property called “Parent”, click in the parent section, a drop down box will appear with optional parent controls to tie the current control. Once the Parent has been selected the Tab button on the keyboard must be pressed to activate. The control will move to the top left corner of the “Parent” control, and must be moved to the part of the control it Is needed.
Special note for Tab control as parent- the tab that is in front will become the “Parent” control, make sure that you have the correct tab forward before you select the Tab control as the parent.
When creating multiple forms, the user can close ones that are not being modified currently. Just click on the “X” at the top right to close the form. To reopen the form simply double click on the form name in the Project Section and the form will reopen.
Attaching Subs to Events for the controls
When subroutines have been written In the editor, they are accessible through the events in the screen painter. Events are the last few on the properties section for each control. Click in the “Event” that needs to be used and select the subroutine from the list box to tie to the Event. Closing Form and Saving (Ctlr + C) Either select Close under file to save back to the editor and exit the screen painter.
This section shows properties and events of the selected control with alphabetical or categorized order. You can change values of selected control’s properties, and make new event by clicking its cell and ‘New,’ or use this to choose action/subroutine to take/happen when this event is fired.
Changing properties on controls
Select the property in the Properties section that needs to be changed by right clicking on the property, make the changes then use the Tab button on the keyboard to save changes. For Example: Adding a Textbox Select (Name) by clicking the textbox next to (Name)– change the name and then hit the Tab button and the new name will be updated.
Changing multiple properties for a single control
Always click on the box to the right of the property that needs to be changed, then remember to tab to save the changes, then click on the next property to modify.
GAB Events for all controls
Events are different points in a program when you can have subroutine invoked.
These events are things like button click, mouse down, and form unload, etc. These events are set within the form designer. They are listed at the bottom of the properties of the control or form you have selected. Clicking on the field next to the event column will bring up a list of subs in your script and also allow the user to select “(New)”. The “(New)” will create a subroutine in your script called the ControlName_EventName.
These are events that can be fired by GAB at runtime. An example of this is the FTP system built into GAB. Binding a subroutine to an event is done with the command F.Intrinsic.Control.AddEventHandler(EventName,SubName)