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.33 ------ Problem setting Program numbers in horizontal repeat 5.0.32 ------ Problem with sp2thred after opening a window 5.0.31 ------ 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 ------------ 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 andy@flexus.com - 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 ------- 4.1.167 ------- Miscellaneous changes --------------------- Problem with always using main window as owner ------- 4.1.165 ------- Miscellaneous changes --------------------- Problem with negative initial values ending in zero Set SP2LTR=1 for left to right menus Ctrl-Shift-F12 key causes crash Use last main window as window owner Set field More options x"80" (128) flag to stop transparent fields flashing Problem checking menu overrides Problem with transparent icons ------- 4.1.164 ------- Miscellaneous changes --------------------- Problem with tab key in tab panels ------- 4.1.163 ------- Miscellaneous changes --------------------- Problem with SP2PFK ------- 4.1.162 ------- Miscellaneous changes --------------------- Problem deleting characters in system entry date field ------- 4.1.161 ------- Miscellaneous changes --------------------- Problem retrieving data from multi-line entry fields Repaint problem ------- 4.1.160 ------- Miscellaneous changes --------------------- Allow the value of fields with transparent backgrounds to be changed ------- 4.1.159 ------- Miscellaneous changes --------------------- Left justify numerics Hidden fields in repeat groups causing tabbing problems sp2-toggle-thread function -------------------------- Parameter: null-parm. When using sp2thred.dll, allows thread mode to be turned off so calls like sp2-get-field-def will run more quickly. Call again to resume regular thread mode. ------- 4.1.158 ------- Miscellaneous changes --------------------- Set SP2PFK=1 to use top 4 keys on numeric keypad as F1-F4 like vt keyboards ------- 4.1.157 ------- Miscellaneous changes --------------------- Prevent truncation of long icon details in editor Set fd-prog-spec = x"20" on a display-field call to use data from fd-initial-val Problem with using set-property on a field in a repeat group sp2.cpy and sp2.cbx for RM now use comp-4 rather than obsolete comp-1 ------- 4.1.156 ------- Miscellaneous changes --------------------- Problem with activex control repaint ------- 4.1.155 ------- Miscellaneous changes --------------------- Problem with returning multiple list box selections Allow up to 11000 for initialized multiline text ------- 4.1.154 ------- Miscellaneous changes --------------------- Set panel-next-occurs correctly after toolbar selection Return Protection as modified by -T item in sp2-fd-output on get-field-data call ------- 4.1.153 ------- Miscellaneous changes --------------------- Set field Blank first to "n" to stop highlight on entry for a system field Support Case property for unprotected combo boxes ------- 4.1.151 ------- Miscellaneous changes --------------------- Problem with SP2EDT logic ------- 4.1.150 ------- Miscellaneous changes --------------------- SP2FSW=1 prevents panel searhes in non-current panel files ------- 4.1.149 ------- Miscellaneous changes --------------------- Problem with new field Border=a Fields left empty after anchor processing System date format not being picked up for current user ------- 4.1.148 ------- Miscellaneous changes --------------------- Problem with mouse handling New field Border=a setting to align no border custom fields like statics Handle list box drive selection properly Missing initial click on radio buttons and check boxes ------- 4.1.147 ------- Miscellaneous changes --------------------- Make sure Fields area is ignored for toolbar if SP2TBF=1 set ------- 4.1.146 ------- Miscellaneous changes --------------------- get-field-data returns index (0,1,2,...) of selected item in listbox in fd-prog-off Long file names supported for audio/video icons if Format set ------- 4.1.145 ------- Miscellaneous changes --------------------- Return last-fld-id properly after return on exit field in repeat group ------- 4.1.142 ------- Miscellaneous changes --------------------- sp2thred hanging sometimes when used with activex ------- 4.1.141 ------- Miscellaneous changes --------------------- Set sp2-wd-system-menu to X"20" on a set-window-def call to disable the close button Problem with toolbar if focus on a push button in main window area Allow comboboxes to be required ------- 4.1.140 ------- sp2-bring-to-foreground ----------------------- Same as sp2-activate-window except that it should force window to foreground in all cases ------- 4.1.139 ------- Miscellaneous changes --------------------- Still a problem with 4.1.36 clipchildren issue ------- 4.1.138 ------- Miscellaneous changes --------------------- Problem with anchor logic if menu or status bar present Allow Types to be used to change system fields from display only to greyed Ensure set-active-window brings window to foreground when using sp2thred New anchor option ----------------- Set panel Options-4 x"40" switch to force anchor processing for a panel loaded into an existing window i.e. panel will be resized to fit into existing window. ------- 4.1.137 ------- SP2NUM config variable ---------------------- Set to 1 to cause the operating system to be referenced for the character to be used for the decimal point and thousands separator and the position of the negative sign. This overrides the SP2DEC setting. ------- 4.1.136 ------- Miscellaneous changes --------------------- Problem with Current color for system fields if clipchildren on ------- 4.1.135 ------- Miscellaneous changes --------------------- Panel icon not being displayed in toolbar window Input not being picked up if system entry field changed from protected to input Scale video icons if Special format = f New field Type for video icons - y = auto-repeat ------- 4.1.134 ------- Miscellaneous changes --------------------- Disallow scrolling if sbar-sw, anchor and minsize all set ------- 4.1.133 ------- Center window ------------- Set Row and Column to -9999 to center window on screen Set Row and Column to -9998 to center window in client area of parent or owner ------- 4.1.132 ------- Miscellaneous changes --------------------- Problem with wd-ownr-id in thin client ------- 4.1.130 ------- Miscellaneous changes --------------------- Adjust total window size if physical size changes after scaling ------- 4.1.129 ------- Miscellaneous changes --------------------- Problem with repeat group displacment when SP2SAV=2 set Allow for 5 digits in generated picture clause Data being incorrectly returned from DIRLIST list boxes ------- 4.1.138 ------- Miscellaneous changes --------------------- Problem with anchor logic if menu or status bar present Allow Types to be used to change system fields from display only to greyed Ensure set-active-window brings window to foreground when using sp2thred New anchor option ----------------- Set panel Options-4 x"40" switch to force anchor processing for a panel loaded into an existing window i.e. panel will be resized to fit into existing window. ------- 4.1.137 ------- SP2NUM config variable ---------------------- Set to 1 to cause the operating system to be referenced for the character to be used for the decimal point and thousands separator and the position of the negative sign. This overrides the SP2DEC setting. ------- 4.1.135 ------- Miscellaneous changes --------------------- Panel icon not being displayed in toolbar window Input not bing picked up if system entry field changed from protected to input Scale video icons if Special format = f New field Type for video icons - y = auto-repeat ------- 4.1.134 ------- Miscellaneous changes --------------------- Disallow scrolling if sbar-sw, anchor and minsize all set ------- 4.1.133 ------- Center window ------------- Set Row and Column to -9999 to center window on screen Set Row and Column to -9998 to center window in client area of parent or owner ------- 4.1.132 ------- Miscellaneous changes --------------------- Problem with wd-ownr-id in thin client ------- 4.1.130 ------- Miscellaneous changes --------------------- Adjust total window size if physical size changes after scaling ------- 4.1.129 ------- Miscellaneous changes --------------------- Problem with repeat group displacment when SP2SAV=2 set Allow for 5 digits in generated picture clause Data being incorrectly returned from DIRLIST list boxes ------- 4.1.127 ------- Panel icons ----------- Set the panel Options-4 x"20" switch to cause sp2 to search for an icon file named ppppppp.ico where pppppppp is the name of the panel. This icon will be displayed in the title bar instead of the standard system icon. The icon will be set or reset when the panel is initially displayed or when a set-window-def call is made. Miscellaneous changes --------------------- Problem with cursor positon after repeat group horizontal scrolling ------- 4.1.126 ------- Listbox from a file ------------------- Set field Value property to "TEXTLIST=myfile" where myfile is the name of a text file. Item length (derived from Format) must be at least as long as Value otherwise the editor will truncate the file name. Use the Fields area item to set and receive selections as for regular listboxes. Use get-field-data to retrieve multiple selections using multiple calls (see 4.1.125) if necessary. ------- 4.1.125 ------- Save file --------- Set fi-mode=s on query-file call to display dialogbox with Save button rather than Open button. Second half of fi-name is taken as titlebar text as for fi-mode=t get-field-data for multi-select list boxes ------------------------------------------ If fd-prog-spec is set to x"20" then fd-prog-num holds the number of the first selection to be returned. This allows multiple calls to be made to retrieve more than 32k of data. fd-initial-len controls how many selections will be returned each time. fd-prog-num is automatically reset to point to the next selection after the current block. ------- 4.1.122 ------- Miscellaneous changes --------------------- Mousewheel support Problem with clear-menu function Positive sign must be inserted into a Fujitsu signed numeric ------- 4.1.121 ------- Miscellaneous changes --------------------- Do numeric edit before required check ------- 4.1.120 ------- Miscellaneous changes --------------------- 4.1.95 change prevents timeout-key being out in keyboard buffer ------- 4.1.117 ------- Miscellaneous changes --------------------- Erroneous scrollbars in Vista ------- 4.1.116 ------- Miscellaneous changes --------------------- Problem with SP2EDT=64 ------- 4.1.115 ------- Miscellaneous changes --------------------- Allow timeout to be reset with sp2-set-configuration ------- 4.1.113 ------- Miscellaneous changes --------------------- Problem with right click logic ------- 4.1.112 ------- Miscellaneous changes --------------------- Problem with closing thin client plugin window ------- 4.1.111 ------- Miscellaneous changes --------------------- Problem with message line and multi-panel windows ------- 4.1.110 ------- Miscellaneous changes --------------------- Anchor problems ------- 4.1.109 ------- Miscellaneous changes --------------------- Problem with delete-group function ------- 4.1.105 ------- Miscellaneous changes --------------------- Problem with anchor processing after max/min/restore sequence ------- 4.1.103 ------- Miscellaneous changes --------------------- Current comboboxes loses value during scrolling Incorrect mouse coordinates returned when Row column x"08" switch set ------- 4.1.102 ------- Miscellaneous changes --------------------- Contents of status bar sometimes incorrect if being used by multiple windows ------- 4.1.101 ------- Miscellaneous changes --------------------- Problem with repeat group occurrences after anchor processing ------- 4.1.100 ------- Miscellaneous changes --------------------- Problem with repeat group occurrences after anchor processing ------ 4.1.99 ------ Miscellaneous changes --------------------- Problem with multi-panel windows Refresh problem after anchor processing Problem with large panels on unix ------ 4.1.98 ------ Anchor enhancements ------------------- A field is anchored by default to the window top and left borders so that it doesn't move when the window size changes. New settings for the Anchor property change this: x"04" - Free left allows a field anchored to the right (x"01") to move horizontally rather than change size x"08" - Free top allows a field anchored to the bottom (x"02") to move vertically rather than change size Groups and repeat groups now have an Anchor property that works the same as for fields. Avoid setting the Bottom anchor for fields in a repeat otherwise the field occurrences will most likely overlay each other. ------ 4.1.97 ------ Miscellaneous changes --------------------- Foreground color used for group border if Border type is a or A ------ 4.1.96 ------ Miscellaneous changes --------------------- Problem with 4.1.95 change to close tab container window ------ 4.1.95 ------ Miscellaneous changes --------------------- Close tabs container window if all tab windows closed System keyboard buffer ---------------------- If the first key slot in bf-data is set to -1, then set-keyboard-buffer will set the system buffer rather than the sp2 internal buffer. This allows you to prime menu bars by loading the buffer up with an F10 key to activate the menu, followed by mnemonic keys to select menu options. Currently only F1 thru F10 and upper-case letters and numbers are supported. ------ 4.1.92 ------ Miscellaneous changes --------------------- Problems with menu help if toolbar present ------ 4.1.91 ------ Miscellaneous changes --------------------- Ensure all Restore events are trapped ------ 4.1.90 ------ System menu ----------- Suppress items on the system menu by setting sp2-wd-system-menu on a set-window-def call to any combination of the following: x"01" - suppress Restore x"02" - suppress Move x"04" - suppress Size x"08" - suppress Minimize x"10" - suppress Maximize ------ 4.1.88 ------ Anchor property --------------- Causes a field to change size relative to the containing window size. The following properties should be set: field Anchor property - x"01" change relative to right window border - x"02" change relative to bottom window border panel Options-4 property - x"08" panel contains anchor fields window Options-3 property (usually derived from panel property above) - x"40" window contains anchor fields panel Options-3 property - x"01" minimum size for containing window window More options property (usually derived from panel property above) - x"16" minimum size for window ------ 4.1.87 ------ Miscellaneous changes --------------------- Editor test displays key returned ------ 4.1.86 ------ Miscellaneous changes --------------------- Problem with extended repeat groups and group Select type = Color-hold ------ 4.1.84 ------ Miscellaneous changes --------------------- Problem restoring window when focus on a system field ------ 4.1.83 ------ Miscellaneous changes --------------------- Problem with multi-line entry fields in groups with Current color set ------ 4.1.82 ------ Miscellaneous changes --------------------- Problem with borders on system entry fields Set window Hide-sw to "q" or "r" to remove or restore the min/max options ------ 4.1.81 ------ Miscellaneous changes --------------------- List current folder in editor open file dialog box Set fi-share to x"10" to force current folder to be listed for open-file Only time out menu if SP2TMO set Use SP2FIL=# to set number of panel files which may be open (default=4) ------ 4.1.80 ------ Miscellaneous changes --------------------- Problem with range property after reducing field length ------ 4.1.78 ------ SP2DTE config variable ---------------------- Set to 1 to cause the system date format to be used for all dates regardless of the field format. The field format is still used in the editor to derive the length of the field i.e. a length of 8 gives a 2 digit year, 10 gives a 4 digit year. Miscellaneous changes --------------------- SP2TMO causing erroneous user response after multiple message boxes Return spaces if nothing selected in a listbox F1 may be interpreted wrongly if focus on a pushbutton Data not being returned properly after SP2EDT=64 processing Set field More options x"20" bit to display combobox dropdown automatically (on focus) Set window Scrollbar switch to "s" to scroll window based on new displacements Set converse-panel Cursor switch to "s" to stop scrolling to make cursor visible Allow repeat group scrollbar to be hidden or greyed out using set-property call Allow deletion across special characters in system entry fields ------ 4.1.75 ------ SP2EDT enhancement ------------------ Add 64 to the SP2EDT value to cause additional character-by-character input checking (does not effect regular end-of-field checking) - only allow a numeric character to be entered in a numeric field - truncate last character if field length exceeded in insert mode Miscellaneous changes --------------------- Problem clicking outside text in right-justified custom field Debug file being erroneously created by set-font-def function ------ 4.1.74 ------ Miscellaneous changes --------------------- Focus problem after resizing window with toolbar Left justification messes up special format fields More options x"40" switch conflict with secure fields ------ 4.1.73 ------ Query-file (fi-mode=d) ---------------------- Set fi-share=x"04" to set initial directory in first half of fi-name Miscellaneous changes --------------------- Allow timeout if help panel active ------ 4.1.72 ------ Miscellaneous changes --------------------- Problem with common dialog boxes and TMO configuration variable Possible memory problem with multiple end-session calls ------ 4.1.71 ------ Miscellaneous changes --------------------- Problem with repaint on clear-panel ------ 4.1.70 ------ Miscellaneous changes --------------------- Allow trailing blanks in system entry if Row column switch = 2 Problem with returning character Z with Wait switch = 2 set-property can cause memory use to be increased unnecessarily Problem with set-property long used with short lengths ------ 4.1.69 ------ Miscellaneous changes --------------------- Problem with return-on-select radiobuttons in an auto-select group Correct no-panel-file generator template to allow for large panels ------ 4.1.68 ------ List box drive listing ---------------------- Set Value property to DRVLIST to get just a list of drives (no directories). Selection will be returned as "c:", "d:", etc. Query-file enhancements ----------------------- 1. Set fi-mode to "d" to display a list of directories only. Additional title text or special instructions for the user can be placed in the second half of fi-name. Selected directory is returned in fi-name. 2. Set fi-share to x"08" to allow multiple files to be selected. Selections returned in fi-name with directory first followed by a low-value, then first file followed by a low-value, then second file followed by a low-value and so on. Use unstring command delimted by low-value to split out the names. Character processing for system entry fields -------------------------------------------- Set Wait switch to "2" to cause control to be returned after every character entered in a system entry field. Configuration variable SP2EDT=1 or 2 switch must also be turned on. Set Row column switch to 2 to retrieve the offset of the cursor within the field - this offset is returned in Last column and should be used to set the value of Cursor column before the next converse-panel or get-input call. Note that this wait-sw setting can only be used with system fields and is different to wait-sw = "1" which immediately returns control for all keys entered but does not trap characters entered into system fields. Miscellaneous changes --------------------- Allow keyboard input to be directed to windows created outside sp2 Set SP2DEC=8 to skip to next field after all decimals entered Problem with common dialog box timeout ------ 4.1.67 ------ Miscellaneous changes --------------------- Non radio buttons allowed in auto-select groups Set Program data x"10" switch for all group fields if using above feature otherwise generated copy file will be wrong Group Tab within = "a" means allow tab or arrow keys to move within group Make sure mnemonics are always underlined properly Mnemonics for static text ------------------------- Set panel Options-4 x"04" bit to switch this feature on. For static text items, if "~" is included in the text, the following character will be underlined, indicating that this character is a mnemonic. For fields, the editor will allow the Mnemonic property to be manually set for all fields apart from push buttons, radio boxes and check boxes (for which it's set automatically.) Use an upper-case letter for the mnemonic - normally this should correspond to the mnemonic in the preceding static text. If this property is set, the appropriate alt+letter key may be used to switch focus to this field. ------ 4.1.66 ------ Miscellaneous changes --------------------- Editor not always recalculating Item length for icon fields Problem with field focus when using compiler debugger Menu not being reset properly after clear-menu in windows with status bar ------ 4.1.65 ------ Miscellaneous changes --------------------- Reference Item length for all icon field types Problem with timeout for system dialog boxes ------ 4.1.64 ------ Miscellaneous changes --------------------- Stop sp2thred eating up cpu time during delays between sp2 calls ------ 4.1.63 ------ Miscellaneous changes --------------------- Keep multiline custom data intact during scrolling Clean up panel file free space pointers ------ 4.1.60 ------ XP-style toolbar icons ---------------------- Windowed icons with Border=d will be displayed with an XP-style rounded border when running under XP with XP-style buttons. For best results, set the Color of the icon to a transparent background - pre-defined color 10 can be used for this purpose. Miscellaneous changes --------------------- Change in 4.1.56 causing next-fld-id not to be set for activex icons Stop alt control key causing beep if menu present ------ 4.1.59 ------ Miscellaneous changes --------------------- Avoid horizontal scroll bar when resizing window and scaling active SP2EDT=32 (n+32) allows Current color and windows highlight for system entries Special format=a scales icon image to field size but maintains aspect ratio row-col-sw=8 returns mouse position in last-row, last-col if mouse clicked Panel Options-4 x"02" sets window pos in pixels (window More options x"80") ------ 4.1.58 ------ Miscellaneous changes --------------------- shift-f1 and ctrl-f1 triggering extra help event ------ 4.1.57 ------ Miscellaneous changes --------------------- Problem in editor if Menu rows set and Menu name blank Set field More option x"10" switch to hold multi-scroll position on redisplay Chg-sw always being set for required system entry fields Problem with set-property if pr-len and pr-var-len-l both zero ------ 4.1.56 ------ Miscellaneous changes --------------------- Problem with combobox change stuff Data overflow in editor activex popup if long Value property ------ 4.1.55 ------ Miscellaneous changes --------------------- Track changes to combobox selection and text ------ 4.1.54 ------ Miscellaneous changes --------------------- Problem with repeat group text file display Text help windows must have protected text ------ 4.1.53 ------ Miscellaneous changes --------------------- window switch to display-only pushbutton not working properly problem with new child window focus stuff ------ 4.1.52 ------ Miscellaneous changes --------------------- font rotation (0 - 360 degrees counter clockwise) problems with child window focus unix sp2check problem ------ 4.1.51 ------ Miscellaneous changes --------------------- Switch focus to correct field after child window switch ------ 4.1.49 ------ Miscellaneous changes --------------------- Support get-property for long list/combobox data Increase max menu levels to 20 Fix problem with Force control field processing ------ 4.1.48 ------ Miscellaneous changes --------------------- If timeout is set interrupt menu processing if necessary ------ 4.1.47 ------ Miscellaneous changes --------------------- Set SP2KBF=2 to support keyboard buffering for system fields as well as customs Click on system field within child window not switching properly ------ 4.1.45 ------ Miscellaneous changes --------------------- SP2CCO=# sets global Current field color (# is numeric color code) Expand internal execute-program buffer to 512 Problem with cursor positioning within field when repeat Cursor movement = -2 ------ 4.1.44 ------ Miscellaneous changes --------------------- Make sure next-fld-id is set properly on key-switch ------ 4.1.42 ------ Miscellaneous changes --------------------- Hold horizontal position when clicking in repeat group with sbar-sw=r Window max increased to 100 ------ 4.1.41 ------ Miscellaneous changes --------------------- Hide thin 3d borders correctly Force control field processing does not apply if select key used Current field color not displayed properly in justified system entry fields Set SP2TBF=1 to stop toolbars accessing converse-data fields, types, colors Correct problem with pasting into special format system entry fields Color columns for repeat groups with vertical gap = 0 and cell height = 1 ------ 4.1.40 ------ Miscellaneous changes --------------------- Problem with set-property and long combobox/listbox data Force common dialogboxes to timeout if SP2TMO set Spacebar means select in all non-entry fields Allow long values to be set for ocx controls in editor Maximum length only needs to be set for entry fields ------ 4.1.39 ------ Miscellaneous changes --------------------- Problem with set-property long for comboboxes and listboxes Combobox Dropdown ----------------- Set field More options x"08" switch and control will be returned to the program when a combobox dropdown is about to be displayed. This allows you to reset the contents of the dropdown or display another window instead of the regular dropdown. Key-vbx is returned and menu-option is set to "ComboDropDown". See sample program comboret for details. ------ 4.1.38 ------ Miscellaneous changes --------------------- Use sp2-fd-id=-1 with sp2-get-field-def to get id of field just added ------ 4.1.37 ------ Miscellaneous changes --------------------- Problem with group fields in editor ------ 4.1.36 ------ Miscellaneous changes --------------------- Problem with editor frames ------ 4.1.35 ------ Miscellaneous changes --------------------- Adjust listbox thin 3d borders Problem with scaling fonts Correct sp2nofil.cbx to work with panels > 32k ------ 4.1.34 ------ Miscellaneous changes --------------------- Return for timeout must override internal edits ------ 4.1.33 ------ Miscellaneous changes --------------------- Stop scrollbars being displayed on dialogboxes ------ 4.1.32 ------ Miscellaneous changes --------------------- Set font pitch correctly after font has been changed in editor Make sure specified font rather than default font is used if it's not too big ------ 4.1.31 ------ Miscellaneous changes --------------------- SP2DBG=4 - log file open attempts for jpg files, etc. ------ 4.1.30 ------ Miscellaneous changes --------------------- Undo 4.1.8 change to suppress clipchildren in toolbar parent Make sure dynamically built menu is displayed properly in toolbar parent In editor, automatically set clipchildren style if activex control added ------ 4.1.29 ------ Miscellaneous changes --------------------- Problem with cursor position after window scroll Control field processing ------------------------ Set panel Options-4 x"01" switch (force control field) to cause a key=-4 to be returned when a control key is hit on a return-on-exit field. Control key will be returned on next converse-panel. Normally, just the control key would be returned in this situation. ------ 4.1.28 ------ Miscellaneous changes --------------------- Problem with returning focus to activex control ------ 4.1.27 ------ Miscellaneous changes --------------------- Problem with long window titles Use SP2RSM=# to specify # of 4k blocks to reserve for dynamic panel expansion Problem with color for multiline entry fields ------ 4.1.26 ------ Miscellaneous changes --------------------- Support for radiobuttons in repeat groups Force messageboxes to timeout if SP2TMO set Suppress set-property redraw if control has not yet been drawn initially Show messagebox before deleting the menu and toolbar associated with a panel SP2VTS=number of logical pixels to vertically scroll a window ------ 4.1.25 ------ Miscellaneous changes --------------------- Input into multiline text field being lost Problem with display-field if no data passed Set Owner-id to -3 to force initial window to the front Problem with toolbars in editor ------ 4.1.23 ------ Miscellaneous changes --------------------- Radiobuttons being selected on window focus change ------ 4.1.20 ------ Miscellaneous changes --------------------- Problem with tab key in editor property box ------ 4.1.19 ------ Miscellaneous changes --------------------- Problem with SP2DBG=4 Problem with popup windows off activex controls Size combobox dropdown if More-options x"01" bit set ------ 4.1.18 ------ Miscellaneous changes --------------------- Problem with cursor positioning in repeat groups ------ 4.1.17 ------ Miscellaneous changes --------------------- Repeat group horizontally shifting in error Deactivate-window (null-parm) function moves current window to end of stack Editor copy function problem with repeat groups Exclude field from repeat if already allocated to another repeat Ignore set-property redraw flag if window not yet drawn ------ 4.1.16 ------ Miscellaneous changes --------------------- Panel program count property not being maintained properly ------ 4.1.14 ------ Miscellaneous changes --------------------- Problem with clear-window function ------ 4.1.12 ------ Miscellaneous changes --------------------- Field number and tab number not always generated properly Long property data code causing problem with zero length data Problem with cursor position in justified, signed and numeric fields ------ 4.1.11 ------ Miscellaneous changes --------------------- Panel Help property being corrupted by editor Problem with large groups in editor Default pushbutton not being reset Problem with changing system field to custom in editor Allow color change ------------------ Set this switch in field More options if you need to programmatically change the color of a system field Long property data ------------------ The set-property function now allows you to assign greater than 32k of data to the Value property for certain field types. Currently this is supported for listboxes and comboboxes. Set pr-len to zero, set pr-var-len-l to the length of the data and move the data to pr-value-l. See the combo3 sample program for an example of this. ----- 4.1.9 ----- Miscellaneous changes --------------------- Problem with focus after closing last window if Owner id set to -2 Problem with changing properties after set-record ----- 4.1.8 ----- Miscellaneous changes --------------------- Suppress Clipchildren on toolbar parent - may cause menu problem Attempt to make whole field visible after window scrolling Key-scroll-click returned in menu-id for key-ctrl-field after scrollbar click ----- 4.1.7 ----- Miscellaneous changes --------------------- Problem with repaint after scrolling when scaling active ----- 4.1.6 ----- Miscellaneous changes --------------------- Problem with cursor row after key-more processing Special character fill in not always working ----- 4.1.5 ----- Miscellaneous changes --------------------- Problem with redrawing icon focus rectangle Fields in repeat not being highlighted properly Fill in special character in system entry if necessary Repaint problem resulting from 4.0.131 group color change ----- 4.1.4 ----- Initial 4.1 release ------------------- See readme files for overview ------- 4.0.138 ------- Miscellaneous changes --------------------- Extended repeats not working in conjunction with wd-sbar-sw=r ------- 4.0.137 ------- Miscellaneous changes --------------------- Support SP2CEN in system fields ------- 4.0.136 ------- Miscellaneous changes --------------------- Problem with $INS statusbar variable Support for system entry fields in horizontally scrolling repeats sp2thred.dll identified properly in Properties/Version/Description ------- 4.0.135 ------- Statusbar usage --------------- A window has a statusbar if panel Options-3 x"04" switch is set. The format of this statusbar is controlled by setting panel Message length to -1 or -2 and panel Message text to a valid format, such as: /200/y/hello/-1/y/from my program/ This would display "hello" in the first part of the statusbar (for a length of 20 cells) and "from my program" in the remaining part. The first part can be easily changed at runtime by resetting panel Message text to the new text to be displayed - the format details are not required unless the format needs to be changed - and setting panel Message refresh switch to zero (use the set-property function to do this). It is also possible to embed special text in the statusbar using the variables $CAP, $NUM, $INS, $DAT and $TIM - use these in the statusbar format instead of a text string, for example: /200/y/hello/100/y/$DAT/ $CAP displays "CAP" if Caps Lock is on $NUM displays "NUM" if Num Lock is on $INS displays "INS" if in insert mode or "OVR" if in overwrite mode $DAT displays the current date $TIM displays the current time Dollar variables should be included on only one window in your system (the main window) but the display will be updated even if this main window is not active. Right click on system field --------------------------- Set field More-options property to x"02" and control will be returned when user right clicks on a system field, if Mouse switch is "r" or "o". If the system field is a listbox, the item which was clicked can be retrieved by setting fd-more-options to x"02" and then making a get-field-data call for the listbox. Miscellaneous changes --------------------- Display-only system entry fields not being drawn properly in XP Problem with listview set call ms-line-cnt=1 assumed if passed as zero on display-message call ------- 4.0.134 ------- Border=L for system/custom entry fields --------------------------------------- This setting gives a basic 2d line border. This can be used in conjunction with a repeat group to easily create a flat grid. Also set panel Cell width/height to 1/1, repeat Vertical/Horizontal gap to -1, repeat Cursor movement to -2, repeat Tabbing type to a or v, and make sure that height of field is a specific number (i.e. not zero). Miscellaneous changes --------------------- Usage option=a for activex icon means pass all keyboard input to control Problem with thread scrolling in thin client Problem with Cursor movement=-2 for a repeat if it has horizontal occurs Problem with new Value processing for activex controls OCXLIST listbox includes all insertable servers Problem with current color for system entry fields in XP ------- 4.0.133 ------- Miscellaneous changes --------------------- Check height of properties window after resizing ------- 4.0.132 ------- Miscellaneous changes --------------------- Generate set-record stuff for panels >32k Problem with length of initial Value for activex icons greater than 500 Save not always done after activex property changed Protect readonly activex properties ------- 4.0.131 ------- Miscellaneous changes --------------------- Editor window size/position saved for next session Generator template saved for next session Support group Current color for system field as long as field has a color Make sure keyboard input is directed to appropriate field SP2EDT=16 --------- Set this option (or n+16) to cause system entry fields to highlight and select their contents when you click in them (as if you used tab to move to the field). ------- 4.0.130 ------- Miscellaneous changes --------------------- Clear current selection in combobox if new selection invalid ------- 4.0.129 ------- New configuration variable - SP2NLK ----------------------------------- Set to 1 to override fi-share=y at runtime (i.e. equivalent to setting fi-share=low-value on open-file call). Set to 2 to allow read-only access to panel file even if another process (eg. editor) has file open for update. This allows updating of file during 24/7 runtime use with only slight performance penalty. Miscellaneous changes --------------------- Problem with small stock font Fix set-record function in unix Gtr/less than comparisons in generator not working properly SP2DBY=1 - ~ character not treated as mnemonic indicator if prev char >= 128 Support for returning activex error codes (see activex doc) ------- 4.0.128 ------- Miscellaneous changes --------------------- Window resize problem after minimize/maximize Allow up to 500 menus in editor Stop accidental property setting after scrolling option list ------- 4.0.125 ------- Miscellaneous changes --------------------- Problem with thread scrolling and toolbars ------- 4.0.124 ------- Miscellaneous changes --------------------- Problems changing font in editor ------- 4.0.110 ------- Miscellaneous changes --------------------- Allow pasting into special format system fields ------- 4.0.109 ------- Miscellaneous changes --------------------- Options-3 x"40" bit means sunken border for window beneath toolbar ------- 4.0.106 ------- Miscellaneous changes --------------------- Suppress Current color for comboboxes ------- 4.0.103 ------- Miscellaneous changes --------------------- Set margin to zero in system entry fields ------- 4.0.100 ------- Miscellaneous changes --------------------- Problems with system field bs/del handling ------ 4.0.95 ------ Miscellaneous changes --------------------- Allow menus greater than 32k ------ 4.0.89 ------ Miscellaneous changes --------------------- Calculate repeat group Vertical visible without need for trailing blank row sp2thred.dll not working properly in thin client ------ 4.0.88 ------ Miscellaneous changes --------------------- Field More-options x"01" switch means size listboxes exactly and allow partial item display Get rid of erroneous messagebox in sp2check Hidden windowed icons still being displayed Problem with thread scrolling ------ 4.0.87 ------ Miscellaneous changes --------------------- Problem deleting repeats ------ 4.0.86 ------ Miscellaneous changes --------------------- Up/Down arrow keys move out of group if Cursor movement is "v" rgb values not being displayed correctly in editor ------ 4.0.85 ------ Miscellaneous changes --------------------- Adjust new thread logic ------ 4.0.84 ------ Thread scrolling (see 4.0.83) ----------------------------- Only active if repeat Miscellaneous property x"02" bit set May cause sp2-key-more to be returned before sp2-key-switch Panel name returned in panel-next-pan if switch occurs Thread support for RM ------ 4.0.83 ------ Repeat group changes -------------------- 1. Scrolling allowed in extended and horizontal repeats even if they do not have focus. 2. Extended repeats may be scrolled past current block with mouse if sp2thred.dll used. 3. In response to sp2-key-more, make only get-repeat-ext and set-repeat-ext calls before continuing with get-input or converse-panel - other calls will be ignored in sp2thred mode. 4. Menu-id holds id of repeat group when sp2-key-more returned. 5. Correct problem with hidden fields in repeats. Miscellaneous changes --------------------- wd-sbar-sw=x causes scrollbars to be redrawn Problem with easy-key when defining a menu Stop scrollbars appearing in editor toolbar window Exclude trailing blanks from config variable values Improve font scaling by rechecking size of original font used ------ 4.0.82 ------ Miscellaneous changes --------------------- Output 3 digits for func in SP2DBG file ctrl/shift f10 distinguished from f10 Properties box caption overwritten by key translation logic Probem with radiobutton colors Prevent mouse interaction with display-only combobox ------ 4.0.81 ------ Panel file records in working-storage ------------------------------------- Panel file records can now be stored in working-storage eliminating the need for panel files at runtime. The main disadvantage of this technique is that your programs will be bigger and performance may be degraded in thin client mode - records will be transmitted each time they are used rather than on a one-time basis. The working-storage definitions can be generated along with the regular cobol code using a new version of the code generator - use the template file sp2nofil.cbx rather than sp2.cbx if you want to do this. A new function, sp2-set-record, allows the records to be moved to sp2 memory so that they can be accessed by converse-panel/open-window logic as if they had just been read from a panel file - see code produced from sp2nofil.cbx for an example of this. Individual set-record calls must be made for each panel, toolbar and menu being used. A set-record call should normally be made immediately prior to a record being used - all records are cleared from memory when a close-window or clear-window call is made. Display-only field color change ------------------------------- As of version 4.0.74, system entry fields with their Protection property set to "y" (display-only) or "p" (protected) are displayed with a grey background rather than the normal white background. To avoid this behavior, set SP2EDT=8 (or n+8 where n is 1 thru 6 representing other behavior preferences eg. SP2EDT=9). Miscellaneous changes --------------------- XP focus indicator still not working in all cases Numeric check not working for pic 9 characters in special format Log all attempts at file create/open if SP2DBG=4 ------ 4.0.80 ------ SP2TMO configuration variable ----------------------------- Set to inactivity timeout in minutes. Equivalent to setting Wait-sw=a except that this applies to all windows and units are minutes rather than seconds. ------ 4.0.77 ------ Miscellaneous changes --------------------- Problem with dollars in cobol format Problem with XP focus indicator Allow color for radiobuttons and checkboxes Hide-sw=i/a not working if SP2HID set ------ 4.0.76 ------ New SP2DBG setting ------------------ Set SP2DBG=4 and an SP2DBG=2 trace file will be generated including the full path names of dll's, panel files and auxilliary files used. If you do not know which configuration file is being used, code the following as the first thing in your program: move "SP2DBG=4" to sp2-bf-data call "SP2" using sp2-set-configuration sp2-buffer Help keyword extensions ----------------------- Prefix the keyword text with a "!" and it will be interpreted as an application to run eg. !winhlp32 -P -Icontext-string help-file. Prefix the keyword text with an "@" and it will be interpreted as a macro to run eg. @JumpId(`help-file',`context-string') Miscellaneous changes --------------------- Problem with date field input Watch propertybox table overflow Window scrollbars being displayed unnecessarily Stop frame divider bleeding outside window Calculate height for multiline static if height is zero Tab change causing window to flash Problem with national character case conversion Protection=secure takes precedence over Usage=multiline Force repaint if field size is changed and Miscellaneous x"04" bit set exe/dll version numbers can be viewed through Windows file properties XP manifest included in executables ------ 4.0.75 ------ Miscellaneous changes --------------------- Problem displaying statics Window More options x"04" causes child to resize - not parent as per manual Problems with repeat group scrolling Multi-select listboxes ---------------------- See 4.0.73 - to select all, set selection-1 to low-values and selection-2 to high-values - to clear all selections, set selection-1 to high-values and selection-2 to low-values ------ 4.0.74 ------ Miscellaneous changes --------------------- F10 can be used as a control key if SP2F10=1 Case property supported for comboboxes Set default icon file name if create-file used instead of open-file Problem with end-session and sp2thred.dll Problem with menu display in WinXP Window border type=f means floating toolbar (skinny titlebar) Preserve id of menu separator in editor Icon field changes ------------------ 1. Background color (all pixels matching top left pixel) of icons with Border=dynamic will be reset to match field/panel Color property if set - previously background color was always set to the system 3d color. 2. If field/panel Color property is set to a color with background= transparent, icon will be transparent for all white pixels in the bitmap - no support for jpeg images yet. 3. Field Miscellaneous property x"80" bit (Dynamic icon mods) - for icons with Border=dynamic, no border will be drawn (other behavior will be unchanged); for other icons, background color will be reset as if Border= dynamic (other behavior will be unchanged). ------ 4.0.73 ------ Miscellaneous changes --------------------- Set SP2FON=000001 to recheck font not too big after scaling Problem with SP2END=4 Multi-select listboxes ---------------------- To select programatically: move low-values to sp2-fd-var-lens compute sp2-fd-initial-len = sp2-fd-item-len * number-of-selections move low-values to sp2-fd-data move field-id to sp2-fd-id move 1 to ws-sub move selection-1 to sp2-fd-var-data (ws-sub : sp2-fd-item-len) add sp2-fd-item-len to ws-sub move selection-2 to sp2-fd-var-data (ws-sub : sp2-fd-item-len) .... call "SP2" using sp2-display-field sp2-field-def ------ 4.0.71 ------ Miscellaneous changes --------------------- Support dynamic download of cursor and icon files ------ 4.0.68 ------ System shutdown --------------- If system shutdown is requested and an sp2 application is running, the default action is to display a messagebox requesting that the user exit the sp2 application (the text of this messagebox is customizable using the SP2MSG config variable). This behavior can be altered as follows: if SP2END=1, the messagebox will not be displayed and the application will be terminated; if SP2END=2, -22 will be returned in panel-key and the next call to SP2 will terminate the application. Note that SP2END=2 is only supported if sp2thred.dll is used instead of sp2.dll. If sp2thred.dll is used and SP2END is not set to 2, the default action is to terminate the application immediately i.e. the messagebox option is not supported if sp2thred.dll is used. Application close ----------------- If close is requested for the taskbar icon related to an sp2 application and the main window is not the current window and switch-sw is not set, the default action is to ignore the close request. If SP2END is set to 4 (0 + 4), 5 (1 + 4) or 6 (2 + 4), -23 will be returned in panel-key. Miscellaneous changes --------------------- Problem with end-session logic if sp2thred.dll used Problems with focus in tabs if SP2TAB=1 or 3 Ignore hidden fields when checking if mouse clicked in a field Problem with selecting statics in editor treeview Allow spacebar as input in unprotected "return if selected" field Problem changing protection type of hidden field ------ 4.0.67 ------ Miscellaneous changes --------------------- Suppress SP2DBG=3 messages if on demand version control being used ------ 4.0.66 ------ Miscellaneous changes --------------------- Clear area before refreshing icon image from program fields area Watch sp2dbg file overflow Proper line-endings in sp2dbg file Fonts file being unnecessarily loaded at end-session Thin client on demand version control ------ 4.0.65 ------ Miscellaneous changes --------------------- sp2check compression repeat group problem hint text not being extracted properly for multi-image icons repeat2 sample program problems ------ 4.0.63 ------ Miscellaneous changes --------------------- Panel names displayed with bad characters in editor panel list ------ 4.0.62 ------ Multi-image bitmap buttons -------------------------- If defining a field programatically, you must set Maximum length property to total length of image file names Miscellaneous changes --------------------- Problem with row-col-sw Allow up to 200 for window title Accept negative in editor to indicate edit override control key ------ 4.0.60 ------ Multi-image bitmap buttons -------------------------- See also 4.0.59 below. The editor now sets Item length equal to Format length divided by 4. The 4th slot is used to set to specify new icon hint text from within a program. This 4th slot is NOT included in the Value property - default icon hint text is specified using the Message text property. If you do not need to modify the images associated with a bitmap button from your program, set the Program data property to X"02" and set Program length to zero - this will suppress the generation of the program Fields area item for the icon. If the buttons are included in a toolbar and the toolbar is to be associated with different panels, set Program data to X"06" and set both Program length and Program number to zero, otherwise the Converse-data area may be incorrectly accessed. Miscellaneous changes --------------------- Icon hints are now displayed for all icons except greyed-out ones ------ 4.0.59 ------ Multi-image bitmap buttons -------------------------- If Field Miscellaneous property X"20" bit is set and Item-length property is set, then the Value property should contain three image specifications (each Item-length long): the default image; the image to be displayed when the mouse is over the button; and the image to be displayed when the button is greyed out. In the editor, Item-length is automatically set based on the Format by dividing the Format length by 3. The second and third images should be entered into Item details separated by a "|" character, for example: icons.bmp 2/20 | icons.bmp 3/20 If defining a field programatically, Item-length must be set manually and Value must be set with respect to this Item-length (without the "|" separator). Field Border must be set to "d" and Usage to "w" to get the "mouseover" effect. Miscellaneous changes --------------------- Problem setting group fields in editor ------ 4.0.58 ------ Miscellaneous changes --------------------- Refresh field display if action=R on set-property call ------ 4.0.57 ------ Miscellaneous changes --------------------- Problem with empty repeat group ------ 4.0.56 ------ Miscellaneous changes --------------------- Mnemonic property supported for icons (uppercase letter or number) Problem with entering right-justified dates and specials ------ 4.0.55 ------ Miscellaneous changes --------------------- Problem setting ocx name in editor ------ 4.0.54 ------ Miscellaneous changes --------------------- Erroneous scrolling in editor ------ 4.0.53 ------ Miscellaneous changes --------------------- Tab sequence icon restored in editor Skip to next field option for system entry fields Suppress return on select option for system entry fields Null out grp/rep-ids as appropriate during edit operations Allow backslash as statusbar separator so slash can be used in text Detect alt-0 thru 9 keys ------ 4.0.52 ------ Miscellaneous changes --------------------- Clear jpegs from memory properly Use SP2IMA=count to control number of images in memory (max/default 200) Restore tab sequence toolbar icon ------ 4.0.51 ------ Miscellaneous changes --------------------- Clicks outside main windows in editor can cause erroneous scrolling SP2DBG not set or set to 3 traps open-file/open-window/converse-panel errors Multiline edit cr/lf's being overwritten if SP2EDT set Use one owner window for all subsequent owned windows ------ 4.0.50 ------ Image reload ------------ Use then following code to force the image for an icon field to be reloaded (i.e. use same file name for a different image): move low-values to sp2-fd-data move ID to sp2-fd-id move "r" to sp2-fd-output call "SP2" using sp2-display-field sp2-field-def Miscellaneous changes --------------------- Correct refresh for windowed icons ------ 4.0.49 ------ Long icon file names -------------------- Long file names are now supported for icons. In the editor, set the Format property to x(50), for example, and this will cause the Maximum length, Program length and Item length properties to be set to 50. This will allow for up to 50 bytes for the icon file name. Because the Program length property has been set, an entry will be generated in the program Fields area for the icon and you can use this entry to change the image that is displayed or set the image for individual occurrences in a repeat group. This facility is currently only supported for icon fields with Type property set to x"00" (regular bitmap), x"01" (bitmap exact) and x"02" (bitmap pushbutton). If you need to set a bitmap pushbutton from your program, include the number and width of the image (eg. 1/20) after the file name leaving at least one space. ------ 4.0.46 ------ Miscellaneous changes --------------------- Problem clicking on non-display-only scrollbar in another window ------ 4.0.44 ------ Miscellaneous changes --------------------- Problem with set-repeat-def ------ 4.0.42 ------ Miscellaneous changes --------------------- Watch properties box list overflow ------ 4.0.41 ------ Miscellaneous changes --------------------- Stop properties box being minimized when main window minimized Allow windowed icon to be overlaid by static to allow pointer change Display statics with leading blanks in tree control Disallow decimal if no decimals in format Problem with special character set fonts ------ 4.0.40 ------ get/set-property functions -------------------------- Set individual properties avoiding the need for get/set-object-def functions. See combo2 for an example. Usage: call "SP2" using sp2-get-property sp2-property call "SP2" using sp2-set-property sp2-property Where: pr-id = id of object (window, panel, static, field, group, repeat) pr-row = row of static pr-col = column of static pr-key = key of property (made up of pr-object-type thru pr-var-act below) pr-object-type = type of object (W, P, S, F, G, R) pr-type = type of property (L=length, N=numeric, C=character, V=variable) pr-var-type = type of variable property (A=first, B=second, ...) pr-off = offset of property within object type pr-len = length of property pr-format = format (in pr-value) of property (N=number, B=binary, D=decimal) pr-action = action to be taken if setting property (R=redraw, C=recreate) pr-var-act = action to be taken if variable property (L=reset variable length) pr-value = value of property pr-num-value = value of property if format is N or D - pic 9(5) pr-bin-value = value of property if format is B pr-bit-value = value of property bit (0 or 1 - anything else means leave alone) length properties are read-only format=N assumes a 2 byte numeric property format=B/D assumes a 1 byte property Some common property keys: Window title: WVA0000000080-RL (set length as appropriate) Panel tab key: PVC0000800002N-- Panel ctrl keys: PVD0000000040N-L (set length as appropriate) Static font: SN-0001000002NC- Static text: SVA0000000080-RL (set length as appropriate) Field row: FN-0001000002NC- Field col: FN-0001200002NC- Field width: FN-0002200002NR- Field height: FN-0002400002NR- Field font: FN-0004200002NC- Field color: FC-0007000001DR- Field format: FVA0000000010-RL (set length as appropriate) Field caption: FVB0000000080-RL (set length as appropriate) Field value: FVC0000000080-RL (set length as appropriate) ------ 4.0.38 ------ Miscellaneous changes --------------------- delete-font, delete-color functions ------ 4.0.36 ------ Miscellaneous changes --------------------- Problem changing total width/height properties Changes to menu/toolbar properties not being saved Problem with clear-panel ------ 4.0.35 ------ Miscellaneous changes --------------------- Problem with RM ocx parameter handling ------ 4.0.33 ------ Miscellaneous changes --------------------- Error in RM extended repeat code Set SP2FON=1 to force x.5 compatible font selection ------ 4.0.32 ------ Miscellaneous changes --------------------- Problem with message lines if scaling Problem with groups in align operation Stop jpegs being reloaded every time Display error if sp2.pan not found in sp2gen ------ 4.0.31 ------ Print facility -------------- Usage: sp2print panel-file panel If panel-file and panel are not supplied, you will be prompted for them. Each panel will be displayed and a snapshot of the desktop sent to the selected printer. Miscellaneous changes --------------------- Problem with z's after decimal point Disallow too many decimals in numeric field ------ 4.0.30 ------ Miscellaneous changes --------------------- Allow for more control keys in properties box Windows interface for sp2gen and sp2check Problem with focus change to extended scrolling repeat Problem with help in network version ------ 4.0.29 ------ Miscellaneous changes --------------------- Correct current color for property box long fields New help file ------ 4.0.28 ------ Miscellaneous changes --------------------- Allow for backslash in ocx property value Close help on end-session rather than close-window F1 key returning control twice Problem with default fonts if system large fonts selected Label font ids 0 and -1 as default fonts rather than system fonts Allow help keyword to be greater than 30 ------ 4.0.27 ------ Miscellaneous changes --------------------- Allow up to 500 groups Allow 256 characters in execute-program buffer New banner and icon ------ 4.0.26 ------ Miscellaneous changes --------------------- Allow color definition to be changed Avoid unnecessary scrollbars after scaling
flexus
A Company of Interex Software, Incorporated
P.O. Box 640, Bangor, PA 18013-0640, U.S.A.
Telephone: 610-588-9400
Telefax: 610-588-9475