COBOL sp2 Change Log

5.2.101
-------
Allow menu option name to be maintained in editor
Suppress whole window repaint when scrolling window and scaling active
Reset program length in editor if push button has fields area entry

5.2.100
-------
Set SP2EDT=256 to trap double-click in a system entry field
Correct handling of types and colors using display-field rather than Types and Colors areas
Correct handling of repeat group vertical occurs when Types area not used 

5.2.99
------
Generator problem if subwindow field points to non-existent panel
Set fd-prog-spec X"40" bit on display-field call to select item in listbox using zero-based index held in fd-prog-off
Problem with Special format=a icon fields linked to jpg's

5.2.98
------
Problem with tab windows containing unprotected subwindow fields

5.2.97
------
Allow display-field to change type/color without effecting data if fd-initial-len = 0
Special format=f can cause jpg's to be scaled twice
Return correct last-fld-id, etc. after switch within container then return on select

5.2.96
------
Problems with editor select all

5.2.95
------
Allow for Special format=f in 5.2.93 jpg sizing logic

5.2.94
------
Problem with SP2EDT=128

5.2.93
------
Button jpgs not being scaled correctly
SP2EDT=128 means no insertion allowed if field is full
Problem with get-field-data function if Program data X"02" flag set
ActiveX protection (field More options X"40") means treat display-only and protected types as for regular fields

5.2.92
------
Adjust shifting for custom fields with more characters that fit in visible area
Avoid resetting focus for third party controls if child of parent control already has focus
Keep panels in sequence within window

5.2.91
------
Problem with sp2-pr-var-act=L introduced in 5.2.88

5.2.90
------
Support UTF-8 in buttons, listboxes and comboboxes
Allow regular environment variables to be retrieved with get-configuration

5.2.88
------
sp2-pr-var-act = D allows deletion of data of length=pr-len from a var-data section at offset=pr-offset
Problem in code generator with panels with more than 500 fields
Allow environment variables (%...%) to be embedded in SP2DIR as long they equate to single directories

5.2.87
------
sp2-pr-var-act = I allows insertion of data of length=pr-len into a var-data section at offset=pr-offset

5.2.86
------
Editor supports up to 500 fields in a group

New code generator template language (beta)
-------------------------------------------
The code generator now supports more user-friendly cobol-like tokens alongside the old numeric ones.  Use the command line "sp2cbxcv old-cbx-file" to convert an existing cbx file into the new format - the new file will be called sp2cbxcv.out and can be renamed appropriately, for example:
sp2cbxcv sp2.cbx
ren sp2.cbx sp2cbx.bak
ren sp2cbxcv.out sp2.cbx
Here are the new tokens with their numeric equivalents:
$000 - $new-file name
$001 - $panel-name
$002 - $panel-prog-len
$003 - $panel-prog-cnt
$007 - $perform for fields with prog-len
$008 - $end-perform
$009 - $field-name
$010 - $field-fmt
$011 - $if repeat
$012 - $else
$013 - $repeat-vert-occ
$014 - $perform for fields in repeat
$015 - $end-if
$016 - $end-perform
$017 - $field-id
$018 - $perform for fields with prog-num
$019 - $perform for base fields
$021 - $if first-time
$022 - $file-name
$024 - $field-filler
$026Lx(y) - $field-len (x+1:y) --new token uses position rather than offset to be consistent with cobol reference modification
$026Nx(y) - $field-num (x+1:y)
$026Cx(y) - $field-char (x+1:y)
$026VAx(y) - $field-var-A (x+1:y)
$026VBx(y) - $field-var-B (x+1:y)
$027x=(y) - $if x = y --put y in quotes if it contains embedded spaces
$027x!=(y) - $if x != y --not =
$027x>(y) - $if x > y
$027x<(y) - $if x < y
$027x>=(y) - $if x >= y
$027x<=(y) - $if x <= y
$028 - $end-if
$029 - $new-file-ask
$030 - $group-len, etc.
$031 - $else
$032 - $panel-len, etc.
$033 - $perform for statics
$034 - $static-len, etc.
$036 - $dollar
$040-$049 - $var-0 thru $var-9
$050x=(y) - $set $var-x = y --put y in quotes if it contains embedded spaces
$050x+(y) - $set $var-x + y
$050x-(y) - $set $var-x - y
$050x*(y) - $set $var-x * y
$050x/(y) - $set $var-x / y
$050x%(y) - $set $var-x % y --remainder from dividing x by y
$050x#(y) = $set $var-x # y --convert to numeric (eg #(A) is 65)
$050x&(y) = $set $var-x & y --and
$050x@(y) = $set $var-x @ y --character within x specified by index y beginning at 0
$051 - $perform until exit
$052 - $exit perform
$053 - $end-perform
$054 - $menu-len, etc.
$056 - $perform for fields with tab
$057 - $perform for groups
$060 - $toolbar
$061 - $end-toolbar
$070-$079 - $var-10 thru $var-19
$087 - $decimal
$091 - $perform for fields and statics
$098 - $group-name
$100 - $no-sp-lv
$106 - $perform for repeats
$107 - $repeat-len, etc.
$111 - $perform for panel and subpanels
$113 - $or
$117 - $perform for fields
$120-$139 - $var-20 thru $var-39
$143 - $quote

5.2.83
------
Problem with poff/pdup
Fix RM set-panel-fields, etc.
Group flat border not being deleted

5.2.82
------
Show panel description alongside name in editor treeview
Repeat group values
SP2OCH
- adjusts scaling in a similar way to SP2OCW so that vertical position is consistent during scaling
- set SP2OCH to the cell height that you are using
Set sp2-ms-line-cnt = -1 to make a beep rather than display a message box
sp2.cpy updated for compatibility with converter

5.2.81
------
Same poff for dup flds in repeats

5.2.80
------
Set "Same poff for dup flds" (pd-options-6 = X"04") to specify that fields duplicated across panels within a container
should share the same Fields area item
Set "Same pnum for dup flds" (pd-options-6 = X"08") to specify that fields duplicated across panels within a container
should share the same Colors/Types area items
SP2END=2 means allow end and home to be used as control keys

5.2.79
------
Allow for multiple container levels when issuing editor warning about container generation
Set "All keys control keys" (pd-options-6 = X"10") to specify that any key returns control (apart from input to system fields)
Repeat group name (rd-name) 

5.2.78
------
Enhanced WC/X flag

5.2.77
------
Exclude hidden windows from bring to foreground logic

5.2.76
------
Try to ensure window is top level when bring to foreground

5.2.75
------
Problem tabbing into subwindow field with no tab fields in subpanel
Themed border for windowed icon focus if border=d and SP2VST=1

5.2.74
------
Problem with get-field-def by name

5.2.68
------
Problem with classes

5.2.67
------
Set SP2NCS to prevent cursor relocation during vertical scrolling
Avoid half hidden fields during vertical scrolling if SP2VTS set

5.2.66
------
Get rid of pointers in RM version of sp2.cpy

5.2.64
------
SP2OWN=8 means bring window to foreground when made visible

5.2.62
------
SP2OWN=4 means bring all new windows to foreground

5.2.61
------
Problem with tab sizing

5.2.60

------

Still problems with self-drawn buttons

5.2.58

------

Problems with new self-drawn colored radio buttons and check boxes

5.2.57

------

Help not working properly for container panels

Problem with popup subwindows

5.2.56

------

Problem with working-storage panels in existing windows

5.2.54

------

Problem with special text justification

Problem with copy file import

5.2.53

------

Support for animated gif's in JPG add-on

5.2.52

------

Problem with assigning window ownership

Updated sp2.chm help file

Handle configuration values longer than 256

Problem with dynamic icons

Problem with special text justification

5.2.51

------

set-mouse-file

--------------

New function to set the mouse shape based on a file - .cur (static) and .ani (animated) files supported - see \windows\cursors folder for example files. Parameter is sp2-buffer with file name in sp2-bf-data.

Miscellaneous

-------------

Problem retrieving system date format

Field Options-4 X"20" - pushbutton fields area - use program Fields area for push button text

5.2.50

------

Class settings for disabled not being picked up correctly

Allow for repeat fields with auto-input

5.2.49

------

Field Options-4 X"10" - no icon bg clear - allow transparent graphic (png,gif) to be used with windowed icon

5.2.48

------

Problem with colored radio buttons/check boxes

5.2.47

------

Problem with transparency code for windowed icons

Allow non-jpg image formats - new sp2ima??.dll required

Problem control key handling in generator template

5.2.46

------

Problem with transparency code for windowed icons

5.2.45

------

Allow for transparency and alpha blending with windowed icons

Stop windowed statics being redrawn unnecessarily

Multi-line windowed static

Make sure controls redrawn properly after anchor processing

Alt-F12 returning wrong code

Problem with fonts in 64 bit mode

5.2.44

------

Problem with anchored fields in subwindows

Allow for clipchildren and transparent windowed fields

5.2.43

------

sp2-get-configuration call - put var to be queried (eg. SP2DIR) in sp2-bf-data

Field as windowed static - fd-options-4 = X"08"

Allow transparent background for windowed statics, radio buttons, check boxes

Support set-property action=R for windows and panels

5.2.41

------

Specify display date format with SP2DTE= (eg. MM/DD/YYYY)

5.2.38

------

Problem with immediate return push buttons

5.2.37

------

Allow for fields preceding grid in sp2grid sample code

5.2.36

------

Problem with tabs

5.2.35

------

Problem with clear-menu function

5.2.34

------

Problem with window scrolling

5.2.33

------

Hidden push buttons created hidden

5.2.32

------

Grid

----

Define header fields and data fields then set panel grid flag to create grid

- grid flag is panel Options-5 = X"80"

- panel cell size must be 1 by 1

- number of fields divided by 2, first half assumed to be headers, second half data

- all fields sized and positioned automatically

- splitter fields (see below) added automatically

- repeat group and window scroll bars added automatically

- options may be set in panel User data:

rc - total number of rows (default = 100)

dw - divider width (default = 2)

dh - divider height (default = 2)

hd - headings y/n (default = y)

sz - column resize allowed y/n (default = y)

Eg. rc=500,dw=1,dh=1

- include grid panel as a subwindow if you want other fields in same window

- see sp2grid.cbl for sample code for dynamically created grid

Splitter field

--------------

Allows mouse movement to be tracked so fields or whatever can be resized

Control type = i, Type = X"06", Protection = y, Usage option = w

panel-key = -32, panel-last-col = mouse column

Miscellaneous

-------------

Problem with special characters in multi-line text file display

Backtab not working properly moving between subpanels

Problem with error handling in system entry fields

Allow for scroll bar when scaling a multi-line entry field

Entry field margins (pd-options-6 = X"01")

5.2.30

------

Colored radio buttons and check boxes not displaying properly

Radio button in child window being checked on focus

5.2.29

------

Problem display container panels in editor test

5.2.28

------

Allow text color in radio buttons and check boxes

Preserve window centering after editor View/Size

5.2.27

------

pr-action=C supported for repeat groups

Problem with activating child windows

Check fields in other panels when handling events

$141=parent of current subpanel in generator

pd-tab-options X"20" means tabs handled manually

Usage option = n for a subwindow field means subpanel only (no separate child window)

Allow panel switch if in container

pd-options-5 X"40" means panel is not visible

Set Value TEXTFILE=myfile.txt to display a text file in a multi-line system field

get-field-def with fd-name will search all panels in current window

5.2.26

------

Editor issues error if you try to generate a subpanel - must generate container

Copy files generated using sp2nofil.cbx can be imported into the editor - original panel file not needed

Option to hold converted program info in User data (pd-options-5 X"20")

fd-options-4 = X"04" means icon is a hyperlink with Help as its href

5.2.25

------

Return on entry (fd-options-4 X"02") (sp2-key-enter-field = 31)

Another problem with justified special text

5.2.24

------

Allow for ActiveX event fired as a result of a method call

5.2.18

------

Option to use default field value if program value is blank (fd-options-4 X"01")

Panel not saved properly after directory switch for graphic

Problems with justification of special text

Cursor-col not being returned properly for system fields that don't initially have focus

5.2.11

------

Problem with justfied fields and unicode changes

5.2.10

------

Problem with autotab in system fields

Cut for custom fields if SP2CUS set

5.2.8

-----

Unicode support

---------------

Limited support for program data in UTF-8 format is provided if SP2IBM=32 is

set. This currently only applies to static text and system entry fields.

5.2.3

-----

Generator

---------

Support colors 1 and 7

Allow for program colors

$119XXX where XXX is configuration variable

$050x@(y) set x to a character within x specified by index y beginning at 0

Editor

------

Allow multi-line entry for multi-line push button

Class changes

-------------

Allow class in special text \a"myclass"

Miscellaneous

-------------

Set converse-data last-field items properly after container switch

5.2.2

-----

Class changes

-------------

font-family recognized rather than font-name

font-weight:bold recognized

5.2.1

-----

Class changes

-------------

Problem with blank text if no graphics in window

Dynamic icon mods need not be set if hover defined for class

5.2.0

-----

Class for text buttons

----------------------

New field property is name of a class. This name can be referenced in a regular CSS file.

The CSS file should itself be referenced by configuration variable SP2CSS to activate

the styles within it. The following sample definitions show all the styles that are

supported:

.myclass

{

font-family:arial;

font-size:13px;

color:white;

background-color:#0000FF;

cursor:pointer;

border-color:#00FF00;

border-style:solid;

border-radius:10px

}

.myclass:hover

{

background-color:teal;

text-decoration:underline

}

.myclass:active

{

background-color:green;

text-decoration:underline

}

.myclass:disabled

{

background-color:gray;

}

The above styles would apply to a text button with Class set to "myclass" given that

they were contained in a file referenced by SP2CSS. The corresponding field properties

should be set to "default" for the styles to take effect. These properties are:

Font

Color

Current color

Border color

Border type

-------

5.0.101

-------

Miscellaneous

-------------

Problem repainting controls after anchor resize

 

5.0.100

-------

Miscellaneous

-------------

Problems setting Program field length and count for dynamically defined repeat groups

 

5.0.99

------

Miscellaneous

-------------

Problem with hints for system fields

 

5.0.98

------

Miscellaneous

-------------

Problem with subwindow colors/types

 

5.0.97

------

Miscellaneous

-------------

Fix problem with SP2CUS=2

Stop blank lines being inserted during paste

Reset $103 token in generator

 

5.0.96

------

Miscellaneous

-------------

SP2CUS=1 support for pasting column into a repeat

SP2CUS=2 disallows copy/paste if mouse-sw=r or o

 

5.0.95

------

Miscellaneous

-------------

Allow more than 1 field in horizontal occurs

Check for valid jpg file

 

5.0.94

------

Miscellaneous

-------------

Allow for renamed dll in SP2VST=1 logic

 

5.0.93

------

Miscellaneous

-------------

Set nd-name to high-values and read-next-panel will retrieve panels in current window

 

5.0.92

------

Miscellaneous

-------------

Container panel in existing window still not working properly

 

5.0.91

------

Miscellaneous

-------------

Disallow click on field in another panel within same window

 

5.0.90

------

Miscellaneous

-------------

Set SP2CUS=1 for limited copy/paste for custom fields with right mouse button

Correct vertical justify for static text

 

5.0.89

------

Miscellaneous

-------------

Problem with windowed icon event handling

 

5.0.88

------

Miscellaneous

-------------

Problem setting Program number >= 32k

 

5.0.84

------

Miscellaneous

-------------

Allow separator in popup menu

 

5.0.83

------

Special text

------------

Use \sx to specify a different control character to be used instead of \.

 

5.0.82

------

SP2OCW

------

Adjusts scaling so that scaled fixed pitch fonts will still be in sync with

the scaled cell size. Set SP2OCW to the cell size that you are using. For

example, if SP2OCW=2 scaling will be done in increments of 1/2 so that

SP2OWD=640 would scale to 960 on a 1024 monitor rather than 1024.

SP2CAS

------

Set to u or l to turn on global case conversion. The field Case property

overrides this - use a value of n to specify no case.

 

5.0.81

------

Miscellaneous

-------------

Problem with clear-panel

 

5.0.80

------

Special text

------------

Set Special text property (fd-options-3 x"80") to have multi-line custom fields

accept imbedded control characters to set font and color of specific text:

\fxxx - set font where xxx is font id

\cxxx - set color where xxx is color id

\n - new line

No input is allowed into multi-line custom fields

 

5.0.79

------

Miscellaneous

-------------

Allow for up to 500 panels in memory

 

5.0.77

------

Miscellaneous

-------------

Problem with field font after scrolling

 

5.0.76

------

Miscellaneous

-------------

Stop reading color record in advance

 

5.0.75

------

Miscellaneous

-------------

Panels with zero size not clearing properly

 

5.0.74

------

Miscellaneous

-------------

Problem with display-field/get-field-data and numeric fields

 

5.0.73

------

Miscellaneous

-------------

Improve appearance of scaled down bitmaps

Use black group border if no themes

Support row-col-sw=2 in justified fields

 

5.0.72

------

Miscellaneous

-------------

Problem with text file listboxes and item-len gtr than 256

 

5.0.69

------

Miscellaneous

-------------

Problem with deleting characters in special format field

sp2thred not working properly as sp2cli in thin client

Problem with system field hints

 

5.0.68

------

Miscellaneous

-------------

wait-sw=2 not returning properly when entry field truncated

Make sure current panel set after window close

Test for group name properly in template file

 

5.0.67

------

Miscellaneous

-------------

Problem with entering key properties

 

5.0.66

------

Miscellaneous

-------------

Problem with generator token 110

Properties static getting into user panels

 

5.0.65

------

Miscellaneous

-------------

Still a problem closing windows with toolbars

 

5.0.64

------

Miscellaneous

-------------

Problem closing windows with toolbars

 

5.0.63

------

Miscellaneous

-------------

Problem with subpanels in generator

Scroll justfied custom fields as necessary

Allow for container panel in existing window

Clear-panel must closes subwindows if container panel

 

5.0.62

------

Miscellaneous

-------------

No delete on resize flag causes problem with fields added out of sequence

SP2END=1 not working properly

Colors above x"fa" used by editor but ok for use at runtime

Set field Blank first to "n" to stop highlight on entry for a system field

Allow up to 11000 for initialized multiline text

Prevent truncation of long icon details in editor

 

5.0.61

------

Miscellaneous

-------------

Check for presence of alpha channel in 32-bit bitmap

Stop scroll bars in Icon value box

 

5.0.60

------

Miscellaneous

-------------

Do sp2-wd-ownr-id=-3 logic if no windows open

Problem with unix write-panel

 

5.0.59

------

Miscellaneous

-------------

Problem with Refresh only on change property

Current color will highlight text icon on focus rather than mouse down if Protection = p

Support anchor property for subwindow fields so subwindows can be anchored

Use SP2OWN=2 as equivalent to sp2-wd-ownr-id=-3

 

5.0.58

------

Miscellaneous

-------------

Problem with get-input and subpanels

 

5.0.57

------

Miscellaneous

-------------

Automatically close child windows to prevent problems in thin client

 

5.0.56

------

Miscellaneous

-------------

Allow for no decimal point when Format changed and program Decimals set

Allow for 7 digit values in generator

No autoskip in open panel dialog

 

5.0.55

------

Miscellaneous

-------------

Support SP2EBC=1 in Fujitsu version

 

5.0.50

------

Miscellaneous

-------------

Open help file properly

 

5.0.49

------

Miscellaneous

-------------

Repeat group field not always returning if Program control set

 

5.0.48

------

Miscellaneous

-------------

Use proper character set for font

 

5.0.47

------

Miscellaneous

-------------

Make sure cursor is displayed

Problem after deleting static

Allow for repeat vertical gap in cells when coloring group

 

5.0.46

------

Miscellaneous

-------------

Problem setting window title

 

5.0.45

------

Miscellaneous

-------------

Resize tabs if contained in a no border window

 

5.0.44

------

Miscellaneous

-------------

SP2DEC=32 means update Fields area even if no change

 

5.0.43

------

Miscellaneous

-------------

Keep memory blocks in sequence to layer panels correctly

 

5.0.39-42

---------

Miscellaneous

-------------

Updates to support non-intel chip

 

5.0.38

------

Miscellaneous

-------------

Problem selecting icon file from dialog box

Preserve long file names during selection

 

5.0.37

------

Miscellaneous

-------------

Problem displaying extended repeat items when count is less than visible

sp2-execute-file

----------------

move "myfile.doc" to sp2-bf-data

call "SP2" using sp2-execute-file sp2-buffer

If you want to wait till app has finished:

move "-w myfile.doc" to sp2-bf-data

call "SP2" using sp2-execute-file sp2-buffer

 

5.0.36

------

Miscellaneous

-------------

Problem with extended repeats during anchor resizing

 

5.0.35

------

Miscellaneous

-------------

Problem with hints for icon field in a repeat group

 

5.0.34

------

Miscellaneous

-------------

Additional sp2thred issues

 

5.0.33

------

Miscellaneous

-------------

Problem setting Program numbers in horizontal repeat

 

5.0.32

------

Miscellaneous

-------------

Problem with sp2thred after opening a window

 

5.0.31

------

Miscellaneous

-------------

Problem saving off field data when program length less than max length

 

5.0.27

------

Miscellaneous

-------------

Problem with set-property call and expanded field record

 

5.0.26

------

Miscellaneous

-------------

Clipchildren still not being applied properly to tabs

 

5.0.25

------

Miscellaneous

-------------

Check for windows version before using gradient functions

 

5.0.24

------

Miscellaneous

-------------

Problem with statics

 

5.0.23

------

Miscellaneous

-------------

Problem with containers in thin client

 

5.0.22

------

Miscellaneous

-------------

Problem setting long Fields length in existing panels

 

5.0.21

------

Miscellaneous

-------------

Ensure hints appear on appropriate screen

Ignore set-record if record already in memory

Allow additional panels in memory

Issue message from editor to regenerate main container panel if panels changed

 

5.0.20 (beta)

-------------

Containers

----------

Set subwindow field Usage option to "t" to make a child window initially active

Problems with status bars

Properly select icon if linked to initial child window

Force proper resising of child windows within maximized container

Problem displaying field values within multiple window levels

Allow clipchildren property in tabs parent

Miscellaneous

-------------

Set field Options-3 x"20" flag to suppress use of return as new line within multi-lines

 

5.0.19 (beta)

-------------

Miscellaneous

-------------

Still problem with hints in editor window

 

5.0.18 (beta)

-------------

Miscellaneous

-------------

Tabbing messed up in repeats containing display-only fields

Toolbar messing up child window resizing in containers

Handle gradient as window background color

Hints being erroneously displayed in editor window

Editor scrollbars missing for panels with size children to fit set

Font not set properly for text buttons

 

5.0.17 (beta)

-------------

Miscellaneous

-------------

Additional code to handle new long values on non-Intel machines

 

5.0.16 (beta)

-------------

Miscellaneous

-------------

Problems with generator and runtime if container panel has toolbar

Problems with container panel toolbar)

5.0.15 (beta)

-------------

Miscellaneous

-------------

Correction to alpha channel processing

 

5.0.14 (beta)

-------------

Miscellaneous

-------------

Allow additional open windows

Draw 32bit bitmaps with alpha channel

 

5.0.13 (beta)

-------------

Miscellaneous

-------------

Problem with container popups in thin client

 

5.0.12 (beta)

-------------

Miscellaneous

-------------

Problem generating panels with toolbars from editor

 

5.0.11 (beta)

-------------

Miscellaneous

-------------

Internal problem with system field color logic

 

5.0.10 (beta)

-------------

Miscellaneous

-------------

Adjustments to support container panels in thin client

Problem with indexing large panel file records

Get rid of thousands separator in spin button fields

Change label on editor icon properties dropdown to support text buttons

Problem with display of new format panel records on Open panel popup

Tab numbers being lost during anchor processing

 

5.0.9 (beta)

------------

Miscellaneous

-------------

Allow for long reclen in internal functions used by tc avc

 

5.0.8 (beta)

------------

sp2check

--------

-L option creates log called checked.log

-M option deletes unused menus

Miscellaneous

-------------

Allow for long items in get/set-panel/field-def calls

Support long items in property calls

Alt+function keys

SP2RTL is the same as SP2LTR

Increase maximum number of panel file index entries to around 4500

 

5.0.7 (beta)

------------

Miscellaneous

-------------

Problem with menu memory usage

Check century is 1900, 2000 or 2100 if SP2CEN set

 

5.0.6 (beta)

------------

Panel colors and types area

---------------------------

Maximum size increased from 32k to 2gb

Only size limit on regular repeat group is 32k occurrences

Visual styles

-------------

Set SP2VST=1 to activate visual styles without the need for a manifest file

Miscellaneous

-------------

Must set field Options-3 x"10" flag to make a pushbutton multi-line

Problem displaying listboxes

New sp2check with option to create checked.log

 

5.0.5 (beta)

------------

HTML help

---------

HTML help (.chm files) is now supported in the same way as WinHelp (.hlp files).

Set panel and field Help keywords to point to keywords embedded in the html.

Scaling

-------

Set SP2OAR=1 to maintain aspect ratio during scaling with SP2OWD and SP2OHT

Miscellaneous

-------------

Preserve properties of fields if moved during anchoring

Problem with delete-menu-option

 

5.0.4 (beta)

------------

Miscellaneous

-------------

Editor not allowing for group title

Set fd-max-len to -1 and set-field-def will calculate it based on fd-format

Multi-line pushbuttons

Field Options3 x"04" flag means no tab stop

Problem with justified entry fields in repeat groups

Long file names allowed for activex controls if Format set

Set fd-output=r on display-field call to force refresh of an icon

Hints on non-icon fields

------------------------

Set field Options3 x"08" flag and Message text will be displayed as a hint

Notify icon

-----------

Use the set-notify-icon function to place an icon in the notification area of the

task bar. Pass parameter sp2-buffer with sp2-bf-data set to the text to appear in

the icon hint. The icon itself will be the window icon set by the first panel file

opened or the set-icon-file-name function. Use an initial hidden window with border

set to "f" if you want to avoid a standard icon on the task bar and then define the

main window with border set to "r" so that it's owned by the hidden window. See

sample program notifyic for suggested code.

 

5.0.3 (beta)

------------

Miscellaneous

-------------

Internal problems related to limit increases

 

5.0.2 (beta)

------------

Miscellaneous

-------------

Internal problems related to limit increases

Miscellaneous

-------------

 

5.0.1 (beta)

------------

Miscellaneous

-------------

Problem with setting properties after item has been selected

Can't assign null value to property if multiple items selected

Editor menu accelerator keys

Editor select all

Problem reading 4.x panels greater than 32k

Problem with scaling default font

Vertical scroll repeat

----------------------

Set panel Options-5 x"10" flag to cause the same behavior as window Scrollbar switch = r

Allows container panels to be used to define grids, etc.

Causes the window vertical scrollbar to control the repeat group in the window's panel

Allows the repeat group to scroll horizontally within the window so that more columns

can be defined than are originally visible

See horzscrl.pan for example

Unprotected subwindow fields

----------------------------

Allows the panel referenced by the subwindow field to be given focus as a result of

hitting tab/backtab in another field in the container panel - including the last or first

field of another subpanel

See horzscrl.pan for example

Splitters and frames

--------------------

Use window Border = v or h to define vertical or horizontal splitter windows to delimit

frames within containers

All resizing is handled automatically if the container has More options x"04" flag set

See frames.pan for example

 

5.0.0 (beta)

------------

Introduction

------------

This release is hopefully about making things easier. There are more changes (mostly as

requested by customers) to come but below is what we have so far. Please send comments

and further enhancement requests directly to This email address is being protected from spambots. You need JavaScript enabled to view it. - all emails will receive

a response.

Panel size

----------

Maximum panel size increased from 64kb to 1mb

Maximum number of fields increased from 500 to 5000

Panel fields area

-----------------

Maximum fields area size increased from 32k to 2gb

See newrep and newrep2 programs for simplified extended repeat group logic

Container panels

----------------

Set panel Options-4 x"80" flag for container panel (see Properties box below)

Use Subwindow fields (see below) to define subpanels

Handle all windows in subsystem using container panel converse-data area

Ideal for handling tab windows - see newtabs program

Subpanel fields area, etc. included in container panel area by generator

Current subpanel specified by next-subpanel and last-subpanel

Set next-subpanel to low-values to display container panel or an external panel

Dialog box subpanel (see below) closed automatically by enter, escape or close

Set Options-5 x"01" flag for return-on-open (see Properties box below)

Set Options-5 x"02" flag for return-on-entry (not popup)(see Properties box below)

Set Options-5 x"04" flag for return-on-exit (not popup)(see Properties box below)

Set Options-5 x"08" flag for return-on-close (see Properties box below)

See newexamp program

Subwindow fields

----------------

Control type = w

Value defines panel/window to be opened

Always a one to one panel to window correspondence

Usage option = low-value specifies a child window opened immediately

Usage option = p specifies a popup window (dialog box) opened as needed

Help key specifies key to open popup window

Help key may link to a Control key, pushbutton/icon Help key or menu Accelerator key

 

Set-record function

-------------------

Records kept in memory until all container panels closed

Font and color records now supported so fonts.sp2 doesn't have to be distributed

Generator template

------------------

Extra code for all Key values returned including key-window-open, etc.

Extra code to handle subpanels

Extra code in sp2nofil.cbx for font and color set-record calls

Properties box

--------------

Reorganized with binary options listed separately

Allow properties to be set for multiple rubber-banded items (fields only) in editor

Gradient background colors

--------------------------

Specify start and end RGB colors in editor

Use co-fg-bg (2) and co-fg-bg (3) with set-color-def

Set co-type (3) to "h" for horizontal gradients or "v" for vertical

Text icons

----------

Set Special format=t for simple colored buttons with text

Current color specifies color when clicked

These icons can also be used for simple tabs with a different look - see newtabs2

New tab styles

--------------

Set Tabs Options x"01" flag for focus (same as SP2TAB)

Set Tabs Options x"02" flag for multi-line (same as SP2TAB)

Set Tabs Options x"04" flag for vertical

Set Tabs Options x"08" flag for bottom/right

Set Tabs Options x"10" flag for old-style

XP/Vista themes do not support vertical/right/bottom tabs so you automatically

get non-themed (old-style) tabs if you select anything but default (top) tabs

Miscellaneous

-------------

Allow current item to be changed during get-next-def sequences

Justify=v (vertical) for static text

Field border color

Rounded border for groups and icons

Flat border (usually light blue) for fields, groups and repeats

Set field options-3 x"02" flag for delayed combobox select - only if dropdown closed

Allow cursor skip in system entry fields in insert mode (if SP2EDT=1/2 set)

Flat look and feel in editor

 

You are here: Home Support Change Logs COBOL sp2