COBOL programming tools from NORCOM

     Products     Prices and Purchasing     Support     News     Partnerships     Home   Contact Us   Downloads



Standard Windows Controls

Controls are Windows elements that are used to display your data.  They encapsulate certain standard behavior and appearance.  GUI ScreenIO presently implements the following controls.

Most of these controls support standard Windows ToolTips, context (right-click) menus, Copy/Paste, font and color control, and multiple language text.

In most cases, you load the data to the control with a simple COBOL MOVE statement; GUI ScreenIO does the rest.  Masking (formatting) and all of the runtime behavior of these controls are handled automatically by GUI ScreenIO, based on how you defined the control in the panel editor.  Virtually no programming is necessary on your part, other than loading data to the control and extracting data from it when control returns to your program following a screen display.

Controls make your life easy by providing a powerful and attractive interface with a minimum or work on your part.

Control Description
Checkbox Checkboxes are used for unrelated on/off choices.  If you need to make choices mutually exclusive, consider using radiobuttons. 

Combobox A combobox is (usually) a combination of an edit control and an associated listbox.  You can either type your data into the control directly, or you can select an item from the associated list.

Date picker GUI ScreenIO handles dates as a variant of an edit control.  One option allows you to get fancy by using a date picker control:

Edit control Edit controls are the workhorse of just about any application.  They're used to collect and/or display textual or numeric data.

Edit controls look like this (the part that contains the text value MY-CHECKBOX).  (The label "COBOL field name" is a static text control, and the box that surrounds it all is a groupbox.)

Groupbox A groupbox is used to visually group related objects on your panel.  The box entitled "COBOL Field Definition" surrounding the stuff below is a groupbox.

Image An image control is used to display images.  You can also assign an event ID to an image control that will be returned to your program if the user clicks on the image, much like a pushbutton.
Listbox A listbox control is used to display a list of items.  Unlike a combobox (which can be a drop-down list), a listbox is always the size that you drew it.  If the number of entries in the list will not fit in the space you reserved on your panel, scrollbars are automatically provided. 

A listbox also permits you to select more than one item, unlike a combobox, which only allows a single selection.

Listview A listview control can be used to display multiple-column lists of any size, up to a billion records.  They support grid patterns, full row select, and display content in a popup ToolTip window if the listview is too narrow to display the complete content of a column.

Listviews are immensely powerful and still easy to use.

Multiline text Multiline text controls are a form of edit control that supports up to 32K bytes of text.  
Progress bar A progress bar is a simple bar graph generally used to provide feedback on the progress of a long-running task.

Pushbutton Pushbuttons are used to send events back to your application.

Radiobutton Radiobuttons are used for mutually exclusive choices.    

Selector Selector controls are unique to GUI ScreenIO; they act like a pushbutton, but the label is loaded as you'd load an edit control.  

They're an easy way to create pushbuttons that have variable text, as from a file, for example.

Static text Static text may be placed anywhere on your panel.  It's primarily used to label edit controls or to give instructions.  

Treeview Treeview controls are used to display tree structures, such as subdirectories or any other data that are hierarchical in nature.











2000-2019 Norcom, all rights reserved 

Contact Norcom