Date: 10-19-2018 Subject: RELEASE 10.1A Runtime Files These release notes pertain to the following programs or files: PLBCON 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 6) PLBCONET 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 6) PLBNET 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 6) PLBWEBSRV 10.1Aa 19 Oct 2018 10.1.1.101 (Processed Server) PLBWEBSRVT 10.1Aa 19 Oct 2018 10.1.1.101 (Threaded Server) PLBWIN 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 6) PLBCON5 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 5) PLBCONET5 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 5) PLBNET5 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 5) PLBWIN5 10.1Aa 19 Oct 2018 10.1.1.101 (ComCtl 5) PLBNETSUP.DLL 10.1Aa 19 Oct 2018 10.1.1.101 Required for PLBNET PLBWSEC.DLL 10.1Aa 19 Oct 2018 10.1.1.101 Req'd PLBWIN/PLBNET DESIGNER 10.1Aa 19 Oct 2018 PLBCMP 10.1Aa 19 Oct 2018 SUNIDE 10.1Aa 19 Oct 2018 WATCH 10.1Aa 19 Oct 2018 PLBEQU.INC 10.1Aa 19 Oct 2018 PLBMETH.INC 10.1Aa 19 Oct 2018 *============================================================================== Notes for DOCUMENTATION: - In the PL/B Language Reference under the 'CUETEXT Property' section, 101Aa change the Notes as follows: Modify the Note (5.) as follows: 5. The CUETEXT property is only displayed by the Windows OS for a single line EDITTEXT control. Therefore, when an EDITTEXT is created and the CUETEXT property {value} is specified as a non-NULL string, the EDITTEXT is always created as a single line EDITTEXT. Add a Note (8.) as follows: 8. If an EDITTEXT is created as a multi-line edittext object, a SETPROP of the CUETEXT property has non affect on the Windows OS edittext control. - In the PL/B Language Reference under the 'EDITEXT' section, add a 101Aa Note (11.) that reads as follows: Note: 11. If an EDITEXT is created using a non-NULL CUETEXT property string value, the EDITEXT object is always created as a single line EDITTEXT. - In the PL/B Language Reference under the 'MULTILINE Property' section, 101Aa add a Note (8.) that reads as follows: Note: 8. If an EDITEXT is created using a non-NULL CUETEXT property string value, the EDITTEXT object is always created as a single line EDITTEXT and the MULTILINE property does not take affect. - In the PL/B Web Server under the 'Considerations' section, change the 101Aa Note (10.) as follows: Note (10.) Remove the TOOLBAR and STATUSBAR objects from the 'unsupported Objects' list. - In the PL/B Language Reference manual under the 'LEFT Property' section, 101Aa add a Note (4.) as follows: 4. When the PL/B Web Server, this property behaviors can change to be processed as a percentage when the 'SETMODE *PERCENTCONVERT' value is 1 or 2. See the 'SETMODE *PERCENTCONVERT' keyword description for more details. - In the PL/B Language Reference manual under the 'WIDTH Property' 101Aa section, add a Note (5.) as follows: 5. When the PL/B Web Server, this property behaviors can change to be processed as a percentage when the 'SETMODE *PERCENTCONVERt' value is 1 or 2. See the 'SETMODE *PERCENTCONVERT' keyword description for more details. - In the PL/B Language Reference manual under the 'TOP Property' section, 101Aa add a Note (4.) as follows: 4. When the PL/B Web Server, this property behaviors can change to be processed as a percentage when the 'SETMODE *PERCENTCONVERT=2' mode setting is used. See the 'SETMODE *PERCENTCONVERT' keyword description for more details. - In the PL/B Language Reference manual under the 'STATUSBAR' section, 101Aa change the Note (7.) to read as follows: Note: 7. Using the PL/B Web Server version 10.1A or newer, this PWS object is supported/simulated with the following limitations: a. The SIZEGRIP property is not supported. b. The AUTOSIZE property 'spring' setting only works for the last STATUSPANEL. Otherwise, the STATUSPANEL behavior uses 'content'. c. There is no right-click action. d. STATUSPANEL tooltips are not supported. e. New CSS classes are used a follows: 'plbsb' - StatusBar 'plbsbp' - StatusPanel BDRSYTLE pain text 'plbsbi' - StatusPanel BDRSTYLE inset (Sunken) 'plbsbo' - StatusPanel BDRSTYLE outset (Raised) 'plbsbz' - StatusPanel last panel with spring. f. Click event always returns a event result of zero. *============================================================================== The following files have been changed as noted: ------------------------------------------------------------------------------- PLBWEBSRV (HTML\JS\CSS) - Modified to support 10.1 changes. plbwebbasic.css 10.1A 181015 plbwebbasic.js 10.1 180611 plbwebctls.js 9.9A 170302 plbwebmob.js 10.0A 180402 Support jQuery Mobile plbwebtvcssinfo.html 9.9 161028 plbmobstart.html 10.0A 180402 Support jQuery Mobile plbwebstart.html 10.0A 180402 plbwebstart99a.html 9.9A 170428 - Added classes to support STATUSBAR. 101Aa ------------------------------------------------------------------------------- PLBWEBSRV - Added the STATUSBAR object to the PL/B Web Server with the following 101Aa limitations: 1. The SIZEGRIP property is not supported. 2. The AUTOSIZE property 'spring' setting only works for the last STATUSPANEL. Otherwise, the STATUSPANEL behavior uses 'content'. 3. There is no right-click action. 4. STATUSPANEL tooltips are not supported. 5. New CSS classes are used a follows: 'plbsb' - StatusBar 'plbsbp' - StatusPanel BDRSYTLE pain text 'plbsbi' - StatusPanel BDRSTYLE inset (Sunken) 'plbsbo' - StatusPanel BDRSTYLE outset (Raised) 'plbsbz' - StatusPanel last panel with spring. 6. Click event always returns a event result of zero. - Added the WEBCLASS, WEBHEIGHT, WEBWIDTH, WEBLEFT, WEBTOP, and 101Aa WEBPOSITION properties to the PWS STATUSBAR and TOOLBAR objects. - Modified the PWS EDITTEXT and EDITNUMBER objects to allow the 'KeyPress' 101Aa event to execute with the same behavior as when the PLBWIN runtime is used. - Modified the GETMODE and SETMODE instructions to support a new keyword 101Aa named *PERCENTCONVERT. The *PERCENTCONVERT keyword is ONLY used by the PL/B Web Server runtime and it has no affect for all other PL/B runtimes. *PERCENTCONVERT (GETMODE) *PERCENTCONVERT={value} Where: {value} Required. A previously defined Numeric Variable. The *PERCENTCONVERT returns the mode value used by the PL/B Web Server to convert the PWS object positions into a percentage. The returned values are described as follows: Value Description 0 This is the default if the *PERCENTCONVERT is not used. In this case, PWS object positions are not converted. n Any non-zero value causes the LEFT position and the WIDTH for a PWS object to be converted into a percentage relative to the width of its parent. 2 This value causes the LEFT, WIDTH, and TOP property values for a HTML object to be converted into a percentage relative to the width and height of its parent. Note: 1. When the {value} is set to a non-zero value, the following PL/B statement behaviors occur as follows executing on a PWS runtime: a. A CREATE or FORMLOAD of a PWS object converts a LEFT and WIDTH property value to a WEBLEFT and WEBWIDTH property value as a percentage position. This only happens when both of these conditions are meet: 1) The WEBLEFT and WEBWIDTH properties do not have a user specified preexisting property value. 2) The percent calculates to a value from 1% to 100%. b. A SETPROP of a PWS object converts a LEFT or WIDTH property value to a WEBLEFT or WEBWIDTH property value as a percentage position. This only happens if the percent calculates to a value from 1% to 100%. c. The percentage position values are retrieved by a GETPROP on WEBLEFT or WEBWIDTH property. d. When the {value} is set to be 2, the same behaviors are also applied for the CREATE, FORMLOAD, GETPROP, and SETPROP using the TOP and WEBTOP properties. *PERCENTCONVERT (SETMODE) *PERCENTCONVERT={value} Where: {value} Required. A previously defined Numeric Variable or decimal value. The *PERCENTCONVERT sets the mode value used by the PL/B Web Server to convert the PWS object positions into a percentage. The values are described as follows: Value Description 0 This is the default if the *PERCENTCONVERT is not used. In this case, PWS object positions are not converted. n Any non-zero value causes the LEFT position and the WIDTH for a PWS object to be converted into a percentage relative to the width of its parent. 2 This value causes the LEFT, WIDTH, and TOP property values for a HTML object to be converted into a percentage relative to the width and height of its parent. Note: 1. When the {value} is set to a non-zero value, the following PL/B statement behaviors occur as follows executing on a PWS runtime: a. A CREATE or FORMLOAD of a PWS object converts a LEFT and WIDTH property value to a WEBLEFT and WEBWIDTH property value as a percentage position. This only happens when both of these conditions are meet: 1) The WEBLEFT and WEBWIDTH properties do not have a user specified preexisting property value. 2) The percent calculates to a value from 1% to 100%. b. A SETPROP of a PWS object converts a LEFT or WIDTH property value to a WEBLEFT or WEBWIDTH property value as a percentage position. This only happens if the percent calculates to a value from 1% to 100%. c. The percentage position values are retrieved by a GETPROP on WEBLEFT or WEBWIDTH property. d. When the {value} is set to be 2, the same behaviors are also applied for the CREATE, FORMLOAD, GETPROP, and SETPROP using the TOP and WEBTOP properties. - Corrected a problem where the PWS EDITTEXT/EDITNUMBER 'KeyPress' event 101Aa was not executing the 'KeyPress' PL/B event routine when the keyed character was an 'Enter' key. - Corrected a problem where a PWS BUTTON with the DEFAULT property could 101Aa cause unexpected click events. ------------------------------------------------------------------------------- PLBWIN, PLBNET - Corrected a problem that could cause PLF form load errors in the PL/B 101Aa Designer. The symptom for this problem was an 'I83 subcode 216' error when the PL/B Designer was loading a PLF form. This problem could occur indeterminately depending on the current memory usage when the PL/B Designer was executing. ------------------------------------------------------------------------------- PLBCMP - Added the WEBCLASS, WEBHEIGHT, WEBWIDTH, WEBLEFT, WEBTOP, and 101Aa WEBPOSITION properties to the PWS STATUSBAR and TOOLBAR objects. - Modified the GETMODE and SETMODE instructions to support a new keyword 101Aa named *PERCENTCONVERT. The *PERCENTCONVERT keyword is ONLY used by the PL/B Web Server runtime and it has not affect for all other PL/B runtimes. GETMODE *PERCENTCONVERT={nvar} SETMODE *PERCENTCONVERT={dnumnvar} - Corrected a problem where the 'ELSE' structure statement would give an 101Aa unexpected compiler error when using the 'ZR' option specifying User Comment delimiters. Example 'prog' of Unexpected Compiler Error: IF ZERO ... ELSE ; Comment ... ENDIF . . Execute this command line in a command shell . plbcmp prog -zr#";" . . Gave this error before the 10.1A correct: . ELSE ; Comment * Invalid user comment identifier! . ------------------------------------------------------------------------------- PLBEQU.INC - Modified for PWS StatusBar object. 101Aa ------------------------------------------------------------------------------- PLBMETH.INC - Modified for PWS StatusBar object. 101Aa ------------------------------------------------------------------------------- SUNIDE.PLC - Corrected issue with display of the shortcut menu for the sources treeview. - Implemented an IDE option to allow the source/labels find panel to be hidden. - Corrected I81 error that occurs when a string including a single quote was copied to the clipboard. ------------------------------------------------------------------------------- DESIGNER.PLC - Added the STATUSBAR object for web forms. - Included the WEBCLASS, WEBHEIGHT, WEBWIDTH, WEBLEFT, WEBTOP, and WEBPOSITION properties for the TOOLBAR and STATUSBAR objects. - Enabled TABID Renumbering for web forms. ------------------------------------------------------------------------------- WATCH.PLC - Modified the version field display to accomodate a longer string. -------------------------------------------------------------------------------