## What's New in Version 9.45

Version 9.45

- Add TPrinterSetupDialog to Frame Demo program.

##### Bug Fixes and Changes, Version 9.45

- Allow background: none; to suppress background color.
- Fix problem where caret could not be found in text to left of floating object.
- In stylesheets, accomodate comments like /*****/.
- Fix MakePagedMetafiles to properly page.

Version 9.44

- Add an item to the htOption and fvOption properties to prevent links from being selected when clicked. See the helpfile.
- Add NoGDIPlus compile time option.

##### Bug Fixes and Changes, Version 9.44

- Fix problem with underlining some Chinese and Japanese characters for some fonts.
- Change initialization of GDIPLUS.DLL to fix problems with some DLL and ActiveX applications.
- Fix problem with 3 or more nested <ul>s in a table when the end tags were missing.

Version 9.43

##### Bug Fixes and Changes, Version 9.43

- Fix clip region error when printing with high dpi resolution.
- Fix bug with TabIndex attribute when used in links where a leading space had to be eliminated.
- Fix problem stretching small (like 1 pixel) png images.

Version 9.42

- Add support for parent child operator (>) in contextual selectors.

##### Bug Fixes and Changes, Version 9.42

- Fix contextual selector syntax problem.
- Remove restriction of 2000 on <pre> text length. Use MaxHScroll (normally set to 6000).
- Fix table headers and footers which got broken in v 9.41.
- Fix problem with tiling GDI+ png images in table backgrounds.
- Fix problem where border defined with percent width would become smaller than its enclosed object if viewer was shrunk.

Version 9.41

- Limit extremely large font size entries.
- Allow some null characters in document without aborting. Substitute "?" for some control characters.
- A table cell may now be hotlinked using syntax like:

  > <td href="file.htm#offset" target="sometarget">...</td>

  The Title attribute can now also be used for the whole table cell.
- Added Thai language support.

##### Bug Fixes and Changes, Version 9.41

- Fix problem where text file would not scroll horizontally.
- Fix <center> which didn't work if the block had a restricted width set.
- Fix problem with selecting text when the Text-Indent property was negative.
- Some fixes for Absolute and Relative blocks.
- Fix problems where ThtmlViewer cursors conflicted with user's special cursors.

Version 9.4

- Add support for alpha transparency in PNG images. See PNG Image Support.
- Permit Page-Break properties in <br> tag.

##### Bug Fixes and Changes, Version 9.4

- Remove NoGIF and NoPNG compile time options.
- Modify Word-wrap: break-word; so that it works like in IExplorer.

Version 9.32

- Add Delphi 2006 to the Delphi versions supported.
- Add char entity, "&apos;" as #8217.

##### Bug Fixes and Changes, Version 9.32

- Fix clipping problem in <pre> text which showed up for wide left margins.
- Fix some table colspan problems when rowspan is used.
- Fix problem where Floating blocks were not correct when text-align is center or right.
- Permit Floating objects when positioning is Relative.

Version 9.31

- Add OnObjectTag event to allow user to add support for objects. See the helpfile and FlashDemo program.
- Use font specified by the DefaultFontName property when a font can't be found.
- IDControl property can now be used for hidden "controls" also. See helpfile for details.
- Add Readonly attribute support for <input> and <textarea>.
- Add background color CSS support for form controls.
- OpenPrint, AbortPrint, and ClosePrint methods are now available to allow printing of miscellaneous pages in one print job.

##### Bug Fixes and Changes, Version 9.31

- A <li> without text following will now show the bullet.
- Fix several gif and animated gif problems.

Version 9.3

- Add printing support for <thead>, <tbody>, and <tfoot>. See things.htm for details.
- Add support for using multiple CSS classes as in class="class1 class2".

##### Bug Fixes and Changes, Version 9.3

- Fix <page> tag problem with horizontal scrollbar.
- Fix width=100% on images so the width includes the border.

Version 9.27

- Add support for &shy; the soft hyphen.
- Change the action of <wbr> so that it can be used anywhere, not just within a <nobr> section. It no longer forces the addition of a space character.
- Support for overflow: hidden; CSS property.
- OpOnChange compiler option changes how the OnObjectChange event works with <select> form controls.
- Add Border attribute to <img> tag to adjust border size.

##### Bug Fixes and Changes, Version 9.27

- Form control borders now space vertically properly.
- Large blocks of Alt= text in <img> tags now can be made to wrap in the space alloted for display.

Version 9.26

- New LinkText property gives the text displayed for the link.
- New LinkAttributes property gives all attributes assigned to the link.
- NumPrinterPages now has optional WidthRatio parameter which detects width overflow in printing and gives a PrintScale factor which will eliminate overflow.
- <%....%> now regarded as comment.

##### Bug Fixes and Changes, Version 9.26

- Fix problem in Delphi 2005 version when Themes used.
- Fix Inline borders which did not scroll horizontally.
- Detect GIF images by content rather than .GIF file externsion.

Version 9.25

- Delphi 2005 Support.
- New GetCharAtPos method which returns the character at a given position as well as its font.
- New MakePagedMetaFiles method similar to MakeMetaFile but splits pages more appropriatly.
- Add Word-Wrap: break-word; property.

##### Bug Fixes and Changes, Version 9.25

- Ignore <?xml .....> clauses.

Version 9.24

- Add HTML CopyToClipboard. This is not a perfect implementation but should be useful.
- htNoWheelMouse and htNoWheelMouse options disable the mouse wheel so that it may be used for other middle button operations.
- The TitleAttr property now works with most form controls.

##### Bug Fixes and Changes, Version 9.24

- FindSourcePos and FindDisplayPos methods now working for UTF-8 input.
- Fix "LastPage" in OnHTMLHeader/Footer.
- Fix problem where text was being clipped in form controls when printed.

Version 9.23

- Parse the "@ media screen..." items for stylesheets. Other media options are ignored.
- Extend the IDControl property to include images as well as form controls.
- 3D borders now removed from <input>, <textarea>, and <select> form controls when a CSS border is defined.

##### Bug Fixes and Changes, Version 9.23

- Fix radio buttons so tabbing into a group that has nothing checked doesn't check one of them.
- Fix line-height so it accepts 'normal' properly.
- Fix scrollbars so vertical scrollbar won't show for tables of 100% height.
- Put endless loop check in Print and Print Preview.
- Fix problem with Delphi 7 and XP manifest

Version 9.22

- New OnPrintHTMLHeader and OnPrintHTMLFooter events allow HTML headers and footers when printing. See the helpfile for usage details. Also, there is a demo program in the Demos directory.
- Printing of document background colors and images is now an option. See the htPrintBackground selection in the htOptions/fvOptions property.
- The CSS letter-spacing property has been added.
- Height in percentage is now supported for the <img> tag.
- Metafiles may now be displayed. However, this feature is off by default because there is a conflict with some print operations in Win98 when metafiles are used. To turn metafile support on, undefine NoMetafile in htmlcons.inc.

##### Bug Fixes and Changes, Version 9.22

- Fix problem with tall table cells in Win98/95.
- The Quirk compile time option was fixed so that text color defined in the <body> tag is also used in tables.
- The positioning accuracy of links was improved.

Version 9.21

- Make provision for using third party TNT or Elpack Unicode controls for Form controls. See htmlcons.inc for more details.
- ThtmlViewer.LoadFromString now has overload to accept WideString input for Delphi 6 and 7.

##### Bug Fixes and Changes, Version 9.21

- Change Print Preview to use the screen device context instead of printer device context to avoid problems with some Win98 printer drivers.
- Fix tabbing so can tab into a Radiobutton group that has no button selected.
- Fix problem where text justification did not work correctly when non-breaking spaces were present.
- Change the OnParseEnd event so that the DocumentTitle property is correct when the event occurs.
- Fix a problem when printing single pixel borders.
- Fix a problem with transparency with some PNG images.

Version 9.2

- Width settings in percentage now supported for Form controls.
- Height in percentage can now be specified for tables, table cells, and most block tags.
- ThtmlViewer now has HScrollbar and VScrollbar properties.

##### Bug Fixes and Changes, Version 9.2

- Speedup, particularly for heavily nested tables.
- Widen <input type="edit"> sizes which were too skimpy.
- Fix problem when user tiled 1x1 pixel images.
- 100% width in table cells now allows for padding and border.
- Add Basic Authentication setting so Proxy-Password authorization works.
- Fix for certain animated GIF images

Version 9.13

- Borders now supported for most inline elements.
- Support for font-variant: small-caps.
- Quirk compile time constant simulates some quirks of other browsers.
- fvNoFocusRect added to fvOptions property allows elimination of the focus rectangle around frames.
- Code page 28592 now used for iso 8859-2 East European font.

##### Bug Fixes and Changes, Version 9.13

- Fix several errors in handling of <script> tag and OnScript event.
- Fix border repainting problem in TFrameViewer, TFrameBrowser.
- Fix a 1 pixel error on borders.
- Fix problem where some desktop color schemes were affecting transparent image display and printing.

Version 9.12

- Support for TopMargin and LeftMargin attributes in <body> tag.
- The TitleAttr property now works in the <area> tag.
- Setting the Stream parameter to Nil in the InsertImage method now causes an error image to be displayed.

##### Bug Fixes and Changes, Version 9.12

- A new unit, frameviewerreg.pas, has been added. It contains the component registrations.
- Make check for utf-8 in <meta> tag to be case independent.
- The under-line option of the text-decoration property was incorrectly set to line-under.
- Fix Copy To Clipboard to work in Win95/98/ME.
- Several animated Gif problems were fixed.

Version 9.11

- Type="file" now supported for the <input> tag. OnFileBrowse event gives users control over the associated Browse button.
- Clipboard output is now Unicode.
- Add Border-color and Border-style shortcut properties with 1 to 4 values.
- Check for UTF-8 signature at start of HTML document.

##### Bug Fixes and Changes, Version 9.11

- Changes to remove problems with Delphi 7's Theme Manager when a manifest file was used.
- The Seltext property is now WideString in TFrameViewer and TFrameBrowser as it should be.
- Improvements in the focus rectangle used to indicate focus on links and form controls.
- Fix problem with ID= attributes in <table> tag in Version 9.1.
- Faster Radio Buttons.

Version 9.1

- All CSS border styles now supported. Colors and styles may be separately defined for the four border edges.
- New ThtmlViewer.LoadFromString and LoadTextFromString methods.
- New optional Reference parameter for LoadFromStream, LoadStrings, and LoadFromBuffer methods.
- A new TFormcontrolObj.AttributeValue Property gives access to special user attributes in Form Control tags.
- Add Disable attribute support for Form Control tags.

##### Bug Fixes and Changes, Version 9.1

- Fix <span> tag problem with style attribute.
- Add OnProgress event to TFrameBrowser which was mistakenly omitted.
- Fix transparency problem which was present for some PNG images.
- Remove extra CRLFs on short SelText items.
- Limit Tabbing between links to documents with less than 400 links to avoid slow response times.

Version 9.03

- Delphi 7 support.
- Shift Left Button click can now be used to hilite text.
- Copy to clipboard no longer restricted to 32k.

##### Bug fixes and Changes, Version 9.03

- Change OnInclude event parameter list.
- Fix problem which caused occasional blank pages with page-break-before.
- Some text wrapping problems fixed.
- Win2000 text formatting problem fixed.
- Png Image units renamed.
- Fix problem which occured when a background image was used in an empty table cell.

Version 9.02

- Add tabbing ability for links. Show focus on current link.

##### Bug fixes and Changes, Version 9.02

- Fix several Win95 problems with Unicode handling.

Version 9.01

##### Bug fixes and Changes, Version 9.01

- Fix problem where very large animated Gifs would cause exceptlions in Win9xx.
- Fix Uppercase and Lowercase functions which did not work in Win9xx.
- Fix some problems with <nobr>.

Version 9

- Internal manipulation is done in Unicode now. This should substantially improve language handling and character entity display. UTF-8 is now supported.
- The CSS background properties are now supported for the main background . This includes both fixed and scrolling backgrounds and the many tiling and position options in CSS.
- BGProperties="fixed" attribute is now supported for the <body> tag.
- Extended Find method, FindEx, performs text search in both directions.
- The system colors ("windowtext", "background", etc.) have been added to the list of colors that can be entered.
- <col> and <colgroup> are now supported in Table definitions.
- A PrintScale property allows changing the scale of the printed output.
- TabIndex attribute for form controls allows specifying tab order.

##### Bug fixes and Changes, Version 9

- CopyToClipboard and SelText have been changed to remove excessive CRLFs and spaces.
- The OnScript event now passes a String rather than a PChar.
- Some String parameters are now WideStrings (SelText, Find).
- GetSelTextBuf now has a PWideChar parameter instead of PChar.
- Fixed Image Form controls so that they will focus and react to CR key.
- Improved layout when vertical scrollbar does not show.
- Add little square where scrollbars meet at lower left corner.