01 s1. 03 "Customer code:" line 3 col 2. 03 using cust-code col + 2 high prompt. 03 "First name: " line 4 col 2. 03 using Cust-First-Name col + 2 high prompt. 03 "Last name:" line 5 col 2. 03 using Cust-Last-Name col + 2 high prompt. 03 "Address:" line 7 col 2. 03 "Street:" line 8 col 2. 03 using Cust-Street col + 2 high prompt. 03 "City:" col 50. 03 using Cust-City col + 2 high prompt. 03 " State:" line 9 col 2. 03 using Cust-State col + 2 high prompt. 03 "Zip code:" col 50. 03 using Cust-Zip col + 2 high prompt. 03 "Gender:" line 11 col 2. 03 using Cust-Gender col + 2 high prompt. 03 "Phone number: " line 13 col 2. 03 using Cust-Phone col + 2 high prompt. 03 "Cell Phone number:" line 14 col 2. 03 using Cust-CellPhone col + 2 high prompt. 01 s-func. 03 "F1=Lookup" line 23 col 2 reverse. 03 "F3=Delete" col + 2 reverse. 03 "F5=First" col + 2 reverse. 03 "F6=Prev" col + 2 reverse. 03 "F7=Next" col + 2 reverse. 03 "F8=Last" col + 2 reverse. 03 "F9=Save" col + 2 reverse. 03 "ESC=Exit" col + 2 reverse. |
01 S1. 03 label "Customer code:" line 3 col 2. 03 entry-field using cust-code col + 2 high prompt. 03 label "First name: " line 4 col 2. 03 entry-field using Cust-First-Name col + 2 high prompt. 03 label "Last name:" line 5 col 2. 03 entry-field using Cust-last-Name col + 2 high prompt. 03 label "Address:" line 7 col 2. 03 label "Street:" line 8 col 2. 03 entry-field using Cust-Street col + 2 high prompt. 03 label "City:" col 50. 03 entry-field using Cust-City col + 2 high prompt. 03 label " State:" line 9 col 2. 03 entry-field using Cust-State col + 2. 03 label "Zip code:" col 50. 03 entry-field using Cust-Zip col + 2 high prompt. 03 label "Gender:" line 11 col 2. 03 entry-field using Cust-Gender col + 2 high prompt. 03 label "Phone number:" line 13 col 2. 03 entry-field using Cust-Phone col + 2 high prompt. 03 label "Cell Phone number:" line 14 col 2. 03 entry-field using Cust-CellPhone col + 2 high prompt. 01 s-func. 03 label "F1=Lookup" line 17 col 2 reverse. 03 label "F3=Delete" col + 2 reverse. 03 label "F5=First" col + 2 reverse. 03 label "F6=Prev" col + 2 reverse. 03 label "F7=Next" col + 2 reverse. 03 label "F8=Last" col + 2 reverse. 03 label "F9=Save" col + 2 reverse. 03 label "ESC=Exit" col + 2 reverse. |
01 S1. 03 label title "Customer code:" line 3 col 2. 03 entry-field numeric value cust-code col + 2. 03 label title "First name: " line 4 col 2. 03 entry-field value Cust-First-Name col + 2. 03 label title "Last name:" line 5 col 2. 03 entry-field value Cust-last-Name col + 2. 03 label title "Address:" line 7 col 2. 03 label title "Street:" line 8 col 2. 03 entry-field value Cust-Street col + 2. 03 label title "City:" col 50. 03 entry-field value Cust-City col + 2. 03 label title " State:" line 9 col 2. 03 entry-field value Cust-State col + 2. 03 label title "Zip code:" col 50. 03 entry-field value Cust-Zip col + 2. 03 label title "Gender:" line 11 col 2. 03 entry-field value Cust-Gender col + 2. 03 label title "Phone number:" line 13 col 2. 03 entry-field value Cust-Phone col + 2. 03 label title "Cell Phone number:" line 14 col 2. 03 entry-field value Cust-CellPhone col + 2. 01 s-func. 03 push-button exception-value 1 self-act title "F1=Lookup" line 17 col 2 size 9. |
03 push-button exception-value 3 self-act title "F3=Delete" col + 2. 03 push-button exception-value 5 self-act title "F5=First" col + 2. 03 push-button exception-value 6 self-act title "F6=Prev" col + 2. 03 push-button exception-value 7 self-act title "F7=Next" col + 2. 03 push-button exception-value 8 self-act title "F8=Last" col + 2. 03 push-button exception-value 9 self-act title "F9=Save" col + 2. 03 push-button exception-value 27 self-act title "ESC=Exit" col + 2. |
# Compiler.regexp to remove the 3D and "ERASE" styles when displaying the window iscobol.compiler.regexp="(?i)( 3-D,)" "" \ "(?i)( 3-D)" "" \ "(?i)( ERASE,)" "" \ "(?i)( ERASE)" "" #### code injection for controls #### # add the gradient color on all windows iscobol.compiler.gui.window.defaults= \ gradient-color-1 rgb x#FFFFFF \ gradient-color-2 rgb x#F2F5F9 \ gradient-orientation gradient-northeast-to-southwest # add the transparent style to all labels, check-boxes and radio-buttons iscobol.compiler.gui.label.defaults= transparent iscobol.compiler.gui.check_box.defaults= transparent iscobol.compiler.gui.radio_button.defaults= transparent iscobol.compiler.gui.frame.defaults= transparent # set the white color for all toolbars iscobol.compiler.gui.tool_bar.defaults= background-Color rgb x#FFFFFF \ foreground-Color rgb x#000000 # add the flat style to all push buttons iscobol.compiler.gui.push_button.defaults=flat # add the underline style to all entry-fields iscobol.compiler.gui.entry_field.defaults = border-width (0, 0, 2, 0) \ border-color rgb x#DAE1E5 \ margin-width (3, 3, 3, 3) |