Now Available!

Native .Net
Components

TList WinForms
for
.Net Framework

&

MetaDraw WinForms
for
.Net Framework



Bennet-Tec
Components
Make you
look sharp!



Home

Company

Products

Order Forms

How To

Downloads

Updates

Support

Registration

Dependencies

Links

Compatibility

Site Map


TList


History File (version 6)

File Name Current Version Date Created
TList6.ocx 6.5.16 23 May 2002


TList6.OCX update 6.5.16 23 May 2002
TLTreeVw 1.5.9 30 July 2001
Change Subject Description

Fix

TList - Tool Tips drawing

TList item was redrawn incorrectly if user uses mouse weheel to scroll while a tooltip is displayed.

Fix

TList - Tool Tips

TList displayed a long tool tip over an empty grid cell.

Fix

TList - CellDef.Text

ItemGrid(0).Cells(0, 3).CellDef.Text returns wrong number when TList1.ItemGrid(0).AutoFillColTitles = 1.

Fix

TList License Utility

E-mail addresses had not been properly stored. Users were not getting update notices about new builds.



TList6.OCX update 6.5.15 5 February 2002
TLTreeVw 1.5.9 30 July 2001
Change Subject Description

Fix

TList ItemGrid.SortingKey property ( 354 )

TList.ItemGrid(index).SortingKey did not work with Index = -1, did not not store and return any valid value

Fix

CurrentParent with Virtual Items ( 269)

The CurrentParent property did not not work correctly with virtual items.
The code this:

TList1.CurrentParent = "\New Item1\New Item3\ItemN2\ItemN2"
did not work if in the path there are virtual items.


TList6.OCX update 6.5.14 28 December 2001
TLTreeVw 1.5.9 30 July 2001
Change Subject Description

Enhancement

TypeLib support

Added TypeLibInfo support for all objects Improves auto-syntax assistance support in certain environments such as APL (222)

Enhancement

Added support for VT_NULL which improves support of Format property under certain environments such as APL ( 223)

Fix

Checkboxes and Virtual Items (186)

It was possible to cause an access violation as a result of using checkboxes with Virtual items This has been corrected
Problem occurs when Virtual Items with Checkboxes is used.

Fix

Cell Editing ( 164)

Cell editing could not be started for some cells of TreeGrid where horizontal scrolling was required in order to show the cell before editing.

Fix

The following code worked incorrectly:

TList1.Clear
TList1.AddItem "Root"
TList1.AddItem "Item1", 0
TList1.AddItem "Item2", 1
TList1.Expand(1) = False
TList1.Modifications = TL_MOD_LISTINDEX_BEHAVIOR
TList1.ListIndex = 2
TList1.Expand(0) = False
After execution of the code TList does not show any items. The problem relates to TL_MOD_LISTINDEX_BEHAVIOR modification flag and TList1.ListIndex property. The problems occured only after TList 6.5.6 version


TList6.OCX update 6.5.12 04 December 2001
TLTreeVw 1.5.9 30 July 2001
Change Subject Description

Addressed

Windows XP Handling

Previous updates of TList 6/Pro displayed warning message to the end-user if an application tried to load the application under an operating system newer than Windows 2000 ( for example XP ).
Now a warning message is only displayed to developer that TList 6/Pro is not yet fully tested under Windows XP.

Fix

Multiline text in the cells

Sometimes TList did not draw the text properly if there was a long word followed by a short one and the long word didn't fit into the cell. Under such circumstances the short word could be missed.



TList6.OCX update 6.5.11 17 September 2001
TLTreeVw 1.5.9 30 July 2001
Change Subject Description

Fix

Caption

The caption above TList if shown always looked bold.

Fix

Focus transfer / Editing

TList did not properly lose focus on a single click after editing. It took two clicks to lose focus after editing.

Fix

MultiSelect

TList MultiSelect did not work properly in rare cases with TLMULSEL_EXPLORER_LIKE setting.

Fix

Grid.RowCellDef(0)

Grid.RowCellDef(0) should reference column captions row but has erroneously held the row headers since TList 5.0 In order to resolve this without affecting applications built with earlier editions of TList a new Modifications property flag was created With TList Modification including

TL_MOD_ROW_CELLDEF = &H400
TList.Grid.RowCellDef(0) references column captions row otherwise this references Row headers column as in past.


TList6.OCX update 6.5.10 30 July 2001
TLTreeVw 1.5.9 30 July 2001
Change Subject Description

Enhancement

TDesigner Utility

TDesigner now remembers Window positions, restoring settings from one session to next. Recent files also accessible through File Menu.

Enhancement

3D SHadowed Text Support

TList now supports 3-D text display. This can be set for the entire TList control, or for any column, row, or specific cell.
3-D appearance is achieved using "shadows". A second presentation of the text is drawn offset either above and to left, or below and to right in a secondary shadow color depending on whether text is to appear raised or lowered.

Font3D, FontShadowColor, FontShadowSelectedColor properties were added to TListCellDef object.
Font3D settings:

  • 0 - Normal Text ( default)
  • 1 - Inset Text
  • 2 - Raised Text

FontShadowColor and FontShadowSelectedColor deterimine the color of the shadow for 3d text for normal and selected items.

Enhancement

3D Treelines Support

TList now supports 3-D TreeLine display. This can be set for the entire TList control, or for any column, row, or specific cell.

TreeLinesStyle property: new settings

  • TLTREEL_3DINSET_2COLOR = 5,
  • TLTREEL_3DRAISED_2COLOR = 6,
  • TLTREEL_3DINSET_3COLOR = 7,
  • TLTREEL_3DRAISED_3COLOR = 8 - In the above 4 settings TList uses Windows settings to for specification of shadow and highlight color for 3d TreeLines,
  • TLTREEL_3D_USER_COLORS = 9 - In this UserDefined Color setting shadow and highlight color for 3d TreeLines are taken from TreeLinesHighlightColor and TreeLinesShadowColor properties
  • TLTREEL_3D_AUTO_COLORS = 10 - TList automatically calculates TreeLinesHighlightColor and TreeLinesShadowColor based on current TreeLinesColor property.

The TreeLinesColor property specifies the base color TreeLinesHighlightColor and TreeLinesShadowColor specify highlight and shadow colors use for 3-D treelines when TreeLinesStyle property is set to TLTREEL_3D_USER_COLORS

Either TreeLinesHighlightColor or TreeLinesShadowColor can be set to transparent. This allows drawing 3D TreeLines with 2 colors. If one of this properties is set then TreeLinesStyle property automatically set to TLTREEL_3D_USER_COLORS.

TreeLinesHighlightColor and TreeLinesShadowColor return values dependant on TreeLinesStyle property.

Enhancement

The TL65Cnst.h file

Updated TL65Cnst.h file includes all constant definitions for TList. Note constant definitions are actually built into OCX, but this file may be helpful for those working in programming environments which can not read the constants from the OCX

Fix

In-Place Editing

TList1.Grid.Cells(i,1).CheckboxValue and TList1.ItemCheckBoxValue(i) held different values.

Fix

Printing

Column captions of Tree Grid printed incorrectly if the grid was scrolled to right. The grid cells were scrolled in the printed result, but the column titles were not.

Fix

First column of TreeGrid could not be extended if it was minimized by mouse.

Fix

Caption

TList.Caption property did not work. The text does not show in the caption. The problem has appeared since 6.5 version.

Fix

Sorting

TList.ItemGrid(-1) sorting was not working properly.



TList6.OCX update 6.5.9, 31 May 2001
Change Subject Description

Enhancement

Help Documentation

The TList help file has been Updated Additional material and examples have been added, and HTML help format has been implemented.

Enhancement

Editing

By default TList converts Variants containing empty value (not initialized) into "one space" string when grid cell in-place editing is started. This can be undesirable for application development. Now, if Modification flag TL_MOD_NEW_EDITING (= &H200) is set then TList converts an empty value Variant into an empty string.

Fix

TList Editing

Memory Leak: There was a memory leak after changing the CellEdit property within the GridCellAfterEditing event.

ComboBox: The Drop Down List Combobox could not be edited if CellDef.TextAlignment set to TLTEXTALIGNMENT_NOT_VISIBLE.set to TLTEXTALIGNMENT_NOT_VISIBLE.



TList6.OCX update 6.5.8, 16 May 2001
Change Subject Description

Enhancement

Internet Navigation

A new style, TLAUTONAVIGATE_ON_CLICK, has been added to the WebAutoNavigate property. This setting instructs TList to navigate Internet Explorer on a single click rather than a double click.

Enhancement

In-Place Editing

The ScrollHorz property may now be set even during in-place events. The change in scroll position will take effect after in-place editing is completed.

New properties (OldSelStart and OldSelLength ) were added to the TListEditingChangeInfo object allowing the reading of prior cursor position and selection during in-place editing.

A new flag, TLCOMBO_OPT_EDITAREA_FIT_IN_CELL flag is now supported for the [TListCombobox].Options property.

A new flag, TLTEXTBOX_OPT_FULLRECT, is now supported for the [TListTextBox].Options property.

It is now possible to copy editing formatting from one TList column or cell to another. For example:
Set TList1.Grid.Celldefs(10).CellDef.EditInfo = TList1.Grid.Celldefs(9).CellDef.EditInfo.

Fix

In-Place Editing

A potential memory leak was fixed

The cursor was incorrectly moved by TList to the beginning of the text when the text was changed programmatically using the [TListEditingChangeInfo].Value property within the EditingChange event.

The value of the .Editable property was not copied when an existing TListEditInfo object was assigned to CellDef.EditInfo property. Set TList1.ItemCell(0).EditInfo _ = TList1.ItemGrid(0).GridCellDef.EditInfo

The [TListEditInfo].Editable property was not reset when CellDef.EditInfo property was set to Nothing.

AutoResizing did not work correctly when pasting text from clipboard to editing textbox using context menu.

TList generated two GridCellEditingChange (or two ItemEditingChange ) events instead of one during in-place editing when end-user replaced some text by hitting a key while some text was selected. The two events had been triggered first in response to deletion of selected text and then for addition of text. Only one event is now triggered because there was only one end-user event and this now allows programmer to return to earlier value if new value is invalid.

Fix

MultiSelection with Virtual Items

TList.Selected (i) property did not return correct value in the case where ( List contained virtual items, AND Redraw = False, AND MultiSelect <>0, AND a Virtual item is selected before turning off the Redraw property.

Fix

RTF Text Under Win2000

TList drew some RTF text incorrectly. This is due to new version riched32.dll included with W2000. riched32.dll version 5 has different behavior than version 4.

First: It is impossible to draw transparent background with version 5 of riched32.dll.

Second: Text color can be changed for some RTF text at 5 version and can not be changed for the RTF-text at 4 version.

As result of these incompatibilities, some RTF text was invisible for selected items under Win2000 or under systems if ver. 5 of riched32.dll is installed.

Status - These problem are partly solved: RTF text does not disappear in selected items, but TList can not draw transparent background if riched32.dll version 5 (5.00.2134.1) is installed.



TLIST6.OCX - build 6.5.7, 26 April 2001
Change Subject Description

Enhancement

In-Place Editing

It is now possible to capture and validate user actions during editing;

New Events:
GridCellEditingChange Event, ItemEditingChange Event

New Object :
TListEditingChangeInfo Object - This object is passed during the ItemEditingChange and GridCellEditingChange events and contains the old and new values, and old and new selection.

This feature may be used for instance to watch as the value in a TList editing textbox changes, and optionally to prevent the change, go back to the old value, or put in some new value, (For example to implement type ahead assistance).

Enhancement

ClipBoard Copy

A Modifications property flag, TL_MOD_TLIST6, has been added. If TL_MOD_TLIST6 is set in the Modifications property (TList.Modifications AND TL_MOD_TLIST6 = True) then TList will include data from all columns when copying from a TList Grid or ItemGrid to the clipboard in text format. If this flag is not set, then only the text from the first column will be copied in text format as per older builds. TList always includes all data from all columns in the TList format on the clipboard.

Enhancement

Symbol Font handling

TList now supports wrapping of text with symbol font type under windows 2000.

Fix

ListIndex

TList incorrectly allowed the ListIndex to change in the following situation:

1. user begins editing some item or grid cell,
2. user then clicks on another item this would normally end editing and move the listindex,
3. in AfterEditing event there is code to continue editing:
    TList1.ItemEditText(0) = TL_EDITTEXT_CONTINUE

Therefore ListIndex should NOT change as user will continue editing the same item or grid cell. Now TList keeps the ListIndex pointing at the item which is still being edited.

Fix

Sorting of TList Editing ComboBox entries

By default TList should NOT sort entries in the drop down list of an editing combobox. This behavior is controlled by the [TListComboBox].Items.Sorting property The Default in 6.5.6 was TLSORT_ASCENDING. The Default is now TLSORT_NONE and items are presented in the order added.

Fix

Overriding Cell Editing Default Styles

There was a problem overriding the editing style for a single grid cell when the default based on the column editing style had been set. This is now corrected. For example:
With TList1.Grid
    .ColDefs(2).CellDef.EditInfo.Style =TLEDITINFO_CHECKBOX
    .Cells(1,2).CellDef.EditInfo.Style = TLEDITINFO_TEXTBOX
End WIth



TLIST6.OCX - build 6.5.6, 29 March 2001
TLTreeVw.ocx - build 1.5.6, 29 March 2001
Change Subject Description

Enhancement

In-Place Editing

Support for In-Place Editing Objects Enhanced:

  • TextBox editing
  • Checkboxes editing
  • ComboBox editing
  • Increment/Decrement Spin Button editing
  • Date / Time / Calendar editing

Enhancement

In-Place Editing

Support for Smart Formatting based on Combobox style

Update

Documentation

Documentation on TList In-Place Editing.DOC

Fix

TList on a Web page

TList ignores the PgUp and PgDown keys when placed on a web page.
Solution - a new setting has been added for the Environment property to handle this
    TList.Environment = TLENVIRONM_IE '(=2)



TLIST6.OCX - build 6.0.14, 5 December 2000
Change Subject Description
Enhancement

Modifications property

New flag was added.
    TList1.Modifications = TList1.Modifications Or &H100
TList won't change the ListIndex and select the last item in the tree in case of clicking over the empty space below tree when either single or multi selection mode is activated.



TLIST6.OCX - build 6.0.13, 17 November 2000
TLTreeVw.OCX - build 1.0.17, 17 November 2000
Change Subject Description

Fix

TList6.OCX - Memory Leaks

Memory leak was found and corrected: Calling ItemURL property causes memory leak.

Fix

TDesigner application

User can not chnage the string type value on Values tab of Item Properties dialog.

Fix

TList6.OCX

Some changes were made in order to meet CVC-certification requirements.

Fix

Spelling in the error message

"TListTreeView control doesn't work with installed version of TList control.\n" "Please install correct version of TList6 control " "and specify correct license information.\n" "If you have any licensing problems please contact " "to Bennet-Tec Information Systems."

Fix

Drawing internal lines of the grid

Following code makes TList to draw undesired horizontal grid lines:
    TList1.AddItem "Root" TList1.AddItem "Item1", 0
    TList1.AddItem "Item2", 1
    TList1.Grid.Cols = 3
    TList1.Grid.BorderStyle = &H7
    TList1.Grid.GridLinesStyle = TLGRIDLINES_NONE

Fix

TList6.OCX

Under some curcumstances TList incorrectly draws with Redraw property = FALSE

Fix

Plus/minus signs problem

If user specifies ViewStyleEx=1 (Display Plus/Minus image for all items) and tries to disable displaying plus/minus signs for some of the items using following code:
    TList1.ItemPMPicType(index) = 3 '-don't show any p/m picture
TList just ignores drawing plus/minus signs but doesn't replace the empty space from the signs with the tree lines.

Fix

LevelDefs and sorting problem

Following code:
    TList1.LevelDefs(1).Sorted = True
    TList1.Clear TList1.AddItem "Root1"
    TList1.AddItem "bbb", 0
    TList1.AddItem "aaa", 0
    TList1.LevelDefs(1).Sorted = True

Second call of the Sorted property does not resort level after modifying the tree.

Fix

VisualRoot problem

The problem takes place when user sets the visual root to the item that is collapsed.

Fix

OLE object reference problems

If user saves the reference to the OLE CellDef object and delete some attribute from this cell, this reference can become invalid and can not be used anymore. This happens only if there is only one attribute for the cell (like background color in this sample) Following code shows the potential problem:
    Dim objCell As TlistCellDef
    Set objCell = TList1.Grid.Cells(1, 2).CellDef objCell.BackColor = 1
    ' - after this call the objCell object became disconnected from the tree and following call doesn't change the color of the cell of the grid objCell.BackColor = RGB(0, 0, 255)

Fix

Saving and loading back files containing object references

If some TList items have a value pointing to the OLE object that can not be saved properly in the TLIst file (because such OLE objects don't support correspondent OLE interface) TList can not load the file that contains such items back properly.

Following code method LoadData return error "1 - Read File Error":
    TList1.AddItem "Root"
    TList1.ItemValues(0, "object").Value = New Collection
    TList1.SaveData "c:\temp\tlt.tlt"
    TList1.LoadData "c:\temp\tlt.tlt"

Now TList will just ignore OLE objects that can't be loaded.

Fix

Focus transferring problem for TListTreeView control

Sometimes keyboard doesn't work properly when user changes the focus via mouse (instead of using TAB key). It happens only if KeyPreview on the form is set to TRUE.



TLIST6.OCX - build 6.0.11, 22 September 2000
TLTreeVw.OCX - build 1.0.15, 22 September 2000
Change Subject Description

Enhancement

Constants

The following flags was add to TList6.Bas file:

  • TL_PRNOS_COLTITLES_NONE
  • TL_PRNOS_COLTITLES_FIRSTPAGEONLY
  • TL_PRNOS_COLTITLES_ALWAYS

Enhancement

TList.OCX, TLTreeView.OCX

Internal optimization to enhance performance and memory handling.

Fix

Memory Leaks

Memory leaks were found and corrected

  • Calls to PrintOneStep method
  • Calls to GetCurrentParent property
  • Use of TList within web page IE browser

Fix

TList.OCX

Setting Environment property to an invalid value resulted in incorrect error-message.

Fix

Grid with Virtual Rows

TList failed on exit of application after reordering columns of a Grid having ColDef.CellDef settings and where rows of the grid are virtual.

Fix

Grid with Virtual Rows

The following code did not work correctly for grids with virtual rows.

    TList1.ItemGrid(i).Rows = TList1.ItemGrid(i).Rows + 1

Now the above code automatically increases the ItemVirtualCount .

Fix

TList.OCX

ScrollHorz property did not work with Scrollbars = TLSB_VERT(2)

Fix

Spelling in TVWConv.EXE

The word "replace" was misspelt on screen in the TreeView Project Converter utility.

Fix

TList.OCX - Click event

With ExplorerCompatible keystroke functionality turned on, the Click Event was not generated when focus changed to new item in response to right/left arrow key

Fix

TList - Wordwrap with RTF

TList did not display a very long last word in an RTF formatted cell if Multiline property is set to false.

Note - RTF-formatted single-line text width is limited by width of screen (in pixels). This limitation may be addressed through the WidthOfText Property.

Fix

TList - MouseWheel

TList failed if end-user used MouseWheel to try scrolling empty TList (without items).

Fix

TList - RTF Editing

TList failed after end-user hitting Escape Key to cancel editing of RTF formatted cell in AutoEdit mode (EditingMode <>0)

Fix

TList.OCX / TLTreeVw.OCX - AutoDrag & LevelDef sorting

In rare situations using AutoDragDrop and LevelDef sorting, some items on sorted level became unsorted after a DragDrop operation.

Fix

TList.OCX - LevelDefs

The Indentation property of TLLevelDefs object could not be read in some situations:

    Dim LDefs As TlistLevelDefs
    Dim LDef As TlistLevelDef
    Dim vTmp As Variant
    TList1.LevelDefs(5).PictureOpen = Picture1.Picture
    Set LDefs = TList1.LevelDefs
    For Each LDef In Ldefs
        vTmp = LDef.Indentation '- TList failed on this line
    Next


TLIST6.OCX - build 6.0.9, 8 August 2000
TLTreeVw.OCX - build 1.0.14, 8 August 2000
Change Subject Description

Fix

TList.OCX

TL_VScroll and TL_HScroll events were not generated even if FireTListEvents property = TRUE



TLIST6.OCX - build 6.0.9, 24 July 2000
TLTreeVw.OCX - build 1.0.13, 24 July 2000
Change Subject Description

Fix

HotTracking + font bold problem. (TListTreeView control)
The problem takes place if bold attribute for the node text is set via Node.Bold property = TRUE and HotTracking functionality is ON. The bold attribute of node text disappears after the mouse cursor moves over the text node.

Fix

SelectEx problem (TList control)
SelectEx property does not work if Redraw property is set to FALSE.

Fix

ItemIndexToRow problem (TList control)
TList.Grid.ItemIndexToRow does not work correctly if you specify -3 as a parameter (most recently added item).

Fix

CoerceIndex and TranslateIndex problem (TList control)
In case of specifying incorrect item index for converting indexes via CoerceIndex and TranslateIndex methods CurrentIndexMethod property can be reset internally via TList. And after one of these calls completes the value of CurrentIndexMethod property can differ from that it was before.

Fix

RTF+in-place editing problem (TList control)

Under some curcumstances control can fail after RTF in-place editing completes.



TLTreeVw.OCX - build 1.0.12 (part of TList installation kit)
Change Subject Description

Fix

License

In some situations, TListTreeView displayed license warning message even though there is a proper license on computer.



TLTreeVw.OCX - build 1.0.11 (part of TList installation kit)
Change Subject Description

Enhancement

Help File Update

Fixed some missed links to the help file



TLIST6.OCX - build 6.0.7 - Release 27 June 2000
TLTreeVw.OCX - build 1.0.10 (part of TList installation kit)
Change Subject Description

Enhancement

In Place Editing

TList starts automatic in-place editing for tree items only if the TL_EDITMODE_TREE_ITEMS flag is set in the EditingMode property. (Note: even if tree is displayed inside the first column of TreeGrid)

Enhancement

TListTreeView - Getting Node References

Three new methods were added:

  • NodeFromItem (ByVal TListItemIndex As Long) As Node
  • NodeFromGridCell (ByVal GCellObj As TListGridCell) As Node
  • NodeFromTListNode (ByVal TLNodeObj As TListNode) As Node

These methods return a TListTreeView node object, or an empty object (NULL) if there is no corresponding TreeView node, for instance if GridCell is TreeGrid Column Title cell.

These methods simplify converting a TList ItemIndex, TListNode or TListGridCell reference to a TreeView Node

Example:

'-getting reference to Node object using reference to TListGridCell object
Sub TreeView1_TList_GridCellClick(ByVal GridCell As TlistGridCell, _
ByVal Button As Integer)
    Dim NodeObj As Node
    Set NodeObj = TreeView1.NodeFromGridCell( GridCell )
    Debug.Print "TreeView Node key = " & NodeObj.Key
End Sub

Enhancement

TListTreeView

Ensure Visible MS TreeView's EnsureVisible method is now supported in TListTreeView.

Fix

Grid Borders
The Bottom border of a grid was not drawn if the following combination of properties is set: BorderStyle =TL_GRIDBRD_BORDER and GridLinesStyle = TLGRIDLINES_INTERNAL_VER
Fix
In-Place Editing

Editing Item in-place editing doesn't start if TreeGrid object exist but invisible (TList1.Grid.Visible = False)

Fix
GridCell Width

Item grid cells returned wrong value via Width property (TList1.ItemGrid(Index).Cells(Row, Col).Width) if the TreeGrid object exist but invisible (TList1.Grid.Visible = False)



TLIST6.OCX - Build 6.0.6 - Release 16 June 2000
TLTreeVw.OCX -build 1.0.9 (part of TList installation kit)
Change Subject Description

Enhancement

Help Documentation

TList help file updated.

Fix

TList.OCX

TList sometimes set -1 for the DropTarget property while OLE drag/drop process. It happened during OLE drag/drop proccess, if there was code in DragOver event handler that changed DragHighlight when user moved the mouse back and forth several times over the TList area without dropping.

Fix

TListTreeView
Design-time settings were not saved properly. If changed at design-time they were not transferred to run-time mode.

Fix

TListTreeView

OLEDragDrop event was not generated.

Fix

MS Access suport
Some properties in TListTreeView property page could not be set in design-time under MS Access environment.


Build 6.0.5 - Release 9 June 2000
FIRST FORMAL RELEASE, All previous editions TList 6/Pro were BETA.Note that previous versions should be un-installed before installing formal release due to change in Class ID.


Copyrightę 2003 Bennet-Tec Information Systems, Inc. All rights reserved.