Exontrol ExCalc Component - Release Notes (http://www.exontrol.com/excalc.jsp)

16.0.0.3 Apr 08, 2024
*Added: The control's tooltip is shown when the cursor hovers it no matter if the window that hosts the control is activated
*Fixed: The expropertieslist/com fails if the user is trying to spy the control (x64 version only, AllowSpy property, browses the object by drag and drop)
*Added: The  and  HTML tags support color in RGB format using the  or  syntax, which indicates the color to show the solid or dotted line

16.0.0.2 Aug 02, 2023
*Added: Update the samples to support x64 configuration (/COM version)
*Fixed: No control frame is shown in design-mode under MS Excel's spreadsheet
*Fixed: The AttachTemplate method fails if using "handle" keyword on x64 version

16.0.0.1 May 31, 2023
*NEW:   Ability to specify the size to show the icons within the control
*Added: ImageSize property specifies the size of the control' icons. By default, the ImageSize property is 16. The control's Images collection is cleared if the ImageSize property is changed, so it is recommended to set the ImageSize property before calling the Images method. The ImageSize property defines the size (width/height) of the icons within the control's Images collection. For instance, if the ICO file to load includes different types the one closest with the size specified by ImageSize property is loaded by Images method. The ImageSize property does NOT change the height for the control's font.
*Added: TemplateDef/TemplatePut property allows defining inside variables for the Template feature ( available for /COM only, and useful to assign properties with multiple parameters, which is not supported in dBASE )

15.0.0.2 Sep 12, 2022
*Added: PowerBuilder 21.0 sample
*Fixed: Clicking (Custom) property generates "Class Not Registered" error (Windows x64, 'Looking for object with CLSID:{7EBDAAE1-8120-11CF-899F-00AA00688B10}')
*Fixed: A GPF may occur on closing the form/window/dialog if one or more events are handled by AttachTemplate method

15.0.0.1 May 09, 2022
*NEW:   Z-Events support (Standard .NET event patterns)
*Added: Every event of the control (/NET assembly) provides a Z-Event alternative, of "void OnEventRaised(object sender, EventArgs args)" type. The .NET convention is for an event (Z-event) signature to have a void return and 2 parameters. The first parameter is of type System.Object and is the sender of the event. The second parameter must be of type System.EventArgs or derived from System.EventArgs and contains data passed between sender and receiver. For instance, the "DblClick(object sender, short Shift, int X, int Y)" event is equivalent to "ZDblClick(object sender, ZDblClickArgs e)", where "ZDblClickArgs" type is derived from System.EventArgs and includes definitions for Shift, X and Y properties
*Fixed: "Warning: The  event is a .NET event that does not follow the .NET convention for event signatures (OpenEdge, ABL code)". To prevent this warning, under OpenEdge environment you must use the Z-event alternatives 

14.0.0.1 Jun 23, 2021
*Added: Sets or gets the control's Font property in design mode, for the /NET version
*Fixed: The BackColor/ForeColor properties of the /NET version are not serialized once the user changes in design mode (the control's background/foreground is set to the default value once the form is started)
*Fixed: The BackColor/ForeColor properties of the /NET version are not copied in design mode, when the user copies the control in design-mode using CTRL + C (copy) and CTRL + V (paste) combination

13.0.0.1 Mar 08, 2021
*Added: ExCalc.pdf (include the control's documentation in PDF format)
*Added: The Images method supports the Microsoft ImageList ( mscomctl.ocx, MSComctlLib.ImageList type) object directly. Shortly, you can define the control's images by calling Images(ImageList1.Object). The ImageList1.Object returns the object of MSComctlLib.ImageList type. The Microsoft ImageList object is available for /COM on x86 and x64 machines (starting from Access 2016)
*Fixed: The "Do you want to save changes to the design of form ''? Yes, No, Cancel" message occurs in MS Access, every time the form is closed in design mode

12.0.0.1 Jul 22, 2019
*Fixed: Prevents showing the "This application is about to initialize ActiveX controls that might be unsafe. If you trust the source of this file, select OK and the controls will be initialized using your current workspace settings." warning message while the control is running into MS Office forms or user-forms.

11.0.0.1 May 09, 2018
*NEW:   Ability to executes x-script code ( including events ), from a string, file or a safe array of bytes. This feature allows you to load the control's visual appearance and behavior, without having to write any line of code. The x-script code can save EBNs, icons, pictures into BASE64 encoded strings, and so everything can be put into a single file, that should be invoked by AttachTemplate method. This feature allows you to run any x-script code for any configuration of the component (/COM, /NET or /WPF). 
*Added: AttachTemplate method executes the giving x-script code, and attach events if found. The x-script code can contain handle keyword that defines a handler for the specified event. For instance, the AttachTemplate("handle Click() { print(Version) }") sends the control's Version property to the debugger for display. All you need is to open the DebugView tool, and click the control.
*Added: The control's Template page supports AttachTemplate so you can assign x-script code ( including events )  in design mode, and so the control's visual appearance and behavior is changed once the control is created at runtime (/COM version only). 

10.0.0.2 Oct 25, 2017
*NEW:   Display a placeholder for missing icons, images in HTML captions.
*Added: The Key parameter of the HTMLPicture property is case insensitive, so you can display the picture using the insensitive key. For instance, picA is equivalent with pica, or PICA and so on.
*Added: The HTML caption shows a missing image placeholder for images whose source is missing. The missing placeholder displays the index of the icon being missing, or the key of the HTML picture being missing. 

10.0.0.1 Jul 24, 2017
*Added: The Version property includes the SpecialBuild number of the assembly so it provides information like Major.Minor.Build.Revison.SpecialBuild.Type...
*Fixed: A GPF occurs if the application is started from design mode ( demo / evaluation / trial version only )
*Fixed: Prevents a memory leak when loading icons, pictures, from BASE64 encoded strings (Images method, HTMLPicture picture).
*Fixed: Prevents "Do you want to save ..." / "Save changes...' input box, when the user opens the form in design mode, and close it.

9.0.0.1 Jun 13, 2016
*Added: DPI-Aware Support
*Added: The expression properties support `dpi`, `dpix` and `dpiy` constants that returns the current DPI setting on x/y scale. For instance, the "value * dpi" returns the value if the DPI setting is 100%, or value * 1.5 in case, the DPI setting is 150%
*Added: The Handle parameter of Images method can be a string that specifies the ICO file to be loaded. The ICO file format is an image file format for computer icons in Microsoft Windows. ICO files contain one or more small images at multiple sizes and color depths, such that they may be scaled appropriately. For instance, Images("e:\working\sync.ico") method  adds the sync.ico file to the control's Images collection.
*Fixed: Prevents showing the control's view in design mode, while running on FORTH system ( /COM version )

8.1.0.1 Dec 09, 2015
*Added: The Version property for /NET version returns more information about the component/assembly/file.
*Fixed: Sometimes, can't click the control's buttons if touching the capacitive screen.
*Fixed: An ICO file shows as 18x18 instead of 16x16 pixels if it is loaded using the HTMLPicture method.
*Fixed: The xBase++ application fails, if a division by zero occurs

8.0.0.4 Oct 12, 2015
*Added: , ,  HTML tags ends the solid, up or dotted line
*Added: Prevents showing the ,.;!?'")}] characters at the beginning of a new line, when html text is word-wrapping.
*Fixed: The last italic character of a HTML caption may be shown as clipped

8.0.0.3 Aug 24, 2015
*Added: The HTML tags are case insensitive, so the < b > is equivalent with < B >
*Fixed: The element's tooltip is not shown if the user hovers again the object, if previously its tooltip was automatically hidden by elapsing the time specified by the ToolTipPopDelay property.
*Fixed: The show message is shown on the debugger ( dbgview ), when the tooltip is about to be shown.

8.0.0.2 Apr 06, 2015
*Added: DecimalSymbol property (read-only) specifies the current decimal symbol.
*Added: The CalcCombo.Event( EventID) event occurs once the drop down version of the control fires an event (available for /COM version only)
*Fixed: In VB6, a run-time error occurs in the drop down version of the /COM component, when user presses a key or click a button.  

8.0.0.1 Jan 28, 2015
*Added: Ability to change the control's label format using the Caption property ( HTML format ). By default, the Caption property replaces the control's stack ( operators and operations ) with giving caption. If the new caption just change the format of the Caption property ( includes just HTML tags ), the new format is applied to the control's label and control's stack ( operators and operations ) is not altered. For instance, let's say that the control's label displays the number 78, and during the Change event your application change the Caption property to "" + Caption. In this case, the content of the Caption is not change, instead just the new HTML format is applied to the control's label, so operations on the calculator can continue.
*Fixed: Prevents calling the Change event recursively, if the Caption property is changed during the Change event
*Fixed: Prevents serializing the Buttons property to form's persistence, so the decimal separator is taken from the current system.

7.0.0.3 Nov 03, 2014
*Fixed: The  ... ,  ...  or  ...  are not displayed for CalcCombo/COM control unless the control's Font is set.
*Fixed: The drop down position's font is not initialized. 
*Fixed: The KeyUp/KeyPress event is not fired for the CalcCombo/COM object

7.0.0.2 Sep 10, 2014
*Fixed: The ,  ... ,  ...  or  ...  can't be used on the Buttons property. ( ; divides the buttons of the control, while ; between <> specifies the options for HTML tag )
*Fixed: "Visual C++ Runtime Error!" occurs if using the  or  with no indicating the color. Correct is , instead 
*Fixed: The parts of the line with different fonts in the HTML caption are vertically aligned ( instead aligning to the font's baseline ) if the line displays a picture or an icon using the  HTML tag.

7.0.0.1 Jun 09, 2014
*NEW:   Windows 8.1 64-bit compatibility
*Added: The /COM 64-bit version is compatible with Microsoft Office Applications: Excel 2013, Access 2013,...
*Added: The /NET(/WPF) 64-bit version is compatible with Microsoft NET Framework 4, 4.5, 4.5.1, ...

6.0.0.1 Mar 31, 2014
*NEW:   Subscript and Superscript implementation in HTML captions, using the  HTML tag
*Added: ,  built-in HTML tags defines the vertical offset to display the element, relative to the current position. This tag is inheritable. The , where, pixels indicates the vertical offset to be applied ). For instance, the following text displays a text with Subscript and Superscript such as: "Text with subscript and superscript support"
*Added: The  and , or  and , so no = or full 6 hexa-digits are required to define the color to be applied
*Fixed: The  HTML tag is not overwritten when using inside another  tag

5.0.0.2 Jan 16, 2014
*Added: The Event( EventID) event occurs once the control fires an event (available for /COM version only)
*Added: The Button parameter of MouseMove event can be 4 which indicates that the middle mouse button ( wheel button ) is pressed.
*Added: TemplateDef property allows defining inside variables for the Template feature ( available for /COM only, and useful to assign properties with multiple parameters, which is not supported in dBASE )
*Fixed: "Error executing code: FormActiveXControl (data source), method ... called with invalid parameters" on Dynamics AX environment is fired, if the application handles events with parameters passed by reference. On X++ you should use the Event event and EventParams method to handle this exception. The X++ is not able to handle the events with parameters passed by reference.

5.0.0.1 Oct 30, 2013
*Added: The /COM version can be dropped to the eXPropertiesList control as an object.
*Added: The Template or ExecuteTemplate properties may contain several commands separated by ; not only cariage returns. For instance the Template = "dim p;p=CreateObject(`Exontrol.Print`);p.PrintExt=Me;p.Preview()" calls the exontrol's eXPrint to open the contrl's print and print preview.
*Added: Ability to use or load PNG, TIFF or WMF picture on the control's background ( Picture property for /COM version ) , using the LoadPicture predefined function of the Template property. For instance, the [.Template = "Picture = LoadPicture(`E:\picture.png`)"] OR [.Picture = .ExecuteTemplate("loadpicture(`E:\picture.png`)")] loads the PNG picture on the control's background.
*Fixed: Removes the tooltip's shadow if time to show the tooltip is less than 250 ms, as on Windows 7, the tooltip may be displayed slower.

4.0.0.2 Jan 07, 2013
*NEW:   PNG support for picture properties.
*Added: PNG, TIFF, EXIF or WMF image format support.
*Added: Increases the performance of parsing HTML captions.
*Fixed: In MS Access, the control loses its data once the Visible property is set on False or when the control is hosted to a tab control, and user changes the pages.

4.0.0.1 Oct 15, 2012
*NEW:   New text decorations support for HTML captions, like outlined characters, shadow, ....
*Added: ,  built-in HTML tags define a gradient text ( the  supports color, mode and blending, like , where, rr/gg/bb represents the red/green/blue values of the ending color, 808080 if missing as gray, mode a value between 0 and 4, 1 if missing, and blend 0 or 1, 0 if missing )
*Added: ,  built-in HTML tags define a text to show with outlined characters ( the  supports color and width, like , where rr/gg/bb represents the red/green/blue values of the outline color, 808080 if missing as gray, width indicates the size of outline, 1 if missing.
*Added: ,  built-in HTML tags define a text with a shadow ( the  supports color, width and offset, like , where rr/gg/bb represents the red/green/blue values of the shadow color, 808080 if missing as gray, width indicates the size of shadow, 4 if missing, and offset indicates the offset from the origin to display the text's shadow, 2 if missing.

3.0.0.2 May 16, 2011
*Added: The Button parameter of the ClickButton event returns the fully HTML caption, in case no flat text is shown ( aka using icons or pictures only )
*Added: The ButtonFromPoint property gets the fully HTML caption, in case no flat text is shown
*Added: The control's main window of the drop down version renamed to Exontrol.CalcCombo
*Fixed: The control does not display image buttons with no text inside.

3.0.0.1 March 03, 2011
*Added: /NET assembly.
*Added: The ButtonFromPoint(-1,-1) gets the button from the cursor.
*Fixed: The CTRL+C copies the first character of the result, if using the UNICODE version of the control
*Fixed: A single character is inserted to the control's label if pressing the CTRL+V on UNICODE version of the control

2.0.0.2 Jan 10, 2011
*Added: Compatible with the Data Execution Prevention (DEP).
*Added: Apply the default visual appearance for control's buttons, when no picture is assigned
*Added: 64-bit support.
*Fixed: The MDI form requires an extra click to activate it, once a modeless dialog is closed. The dialog contains a VB6 UserControl that hosts the control. ATL3.0 BUG

2.0.0.1 Dec 28, 2010
*Added: Shadow-Border effect for the drop down calculator component.
*Added: Applies the default visual appearance for drop down button.
*Added: Shows the default visual appearance for the control's border for the drop down version.
*Added: Ensures that the drop down portion of the control fits one of the active monitors.

1.0.0.6 January 18, 2007
*Fixed: Calc.Buttons property uses the ';' character to separate buttons, instead ',' character, so if the decimal symbol is ',' the buttons are separated ok.
*Fixed: CalcCombo.Buttons property uses the ';' character to separate buttons, instead ',' character, so if the decimal symbol is ',' the buttons are separated ok.

1.0.0.5 October 30, 2006
*NEW:   Ability to load and display custom size pictures to HTML captions.
*NEW: The Template supports CreateObject method to create new objects. This feature can be used by programming environments ( such as eDeveloper ) that do not accept working with particular objects.
*Added: ExecuteTemplate property, runs a template and retrieves a value of the variable in the template.
*Added: HTMLPicture property. Adds or replaces a picture being used in the HTML captions.
*Added:  built-in tag supports pictures. For instance, the pic1 displays the pic1 picture being loaded using the HTMLPicture("pic1")

1.0.0.4 December 20, 2005
*Added: Improvements to the Template editor.

1.0.0.3 October 09, 2005
*Fixed: The TAB key advances to the next visible control in the form.
*Fixed: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. VS2005

1.0.0.2 July 22, 2005
*Added: The control works on eDeveloper container.

1.0.0.1 August 16, 2004
* Initial Release