AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

[VST] Inoffizielle Updates

Ein Thema von toms · begonnen am 4. Mai 2008
Antwort Antwort
Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#1

[VST] Inoffizielle Updates

  Alt 4. Mai 2008, 07:47
Hallo

Dmitry Zegebart war so freundlich und hat mir eine (inoffizielle) Virtual Treeview Version mit Bugfixes / Updates zugestellt.

Im Archiv enthalten ist auch das Package Update für D2007 vom 28.04.2008

Edit: Vielleicht hat ja jemand noch andere Updates / Bugfixes.
Diese können in diesem Thread gepostet werden.


aus der Readme:

Zitat:
Inofficial Fixes & Updates by Dmitry Zegebart (26.12.2007)

* New features


class TVirtualTreeColumn
// Alignment of colum's text may differs from node's text alignment.
CaptionAlignment: TAlignment read FCaptionAlignment write SetCaptionAlignment default taLeftJustify;

// Actual column's text including new line symbols. It may differs from 'Text' property
// if coWrapCaption is in 'Options' for the column.
CaptionText: WideString read FCaptionText stored False;

// Type of check box. Column can has it's own checkbox just like 'Node' if CheckBox property set to true.
CheckType: TCheckType read FCheckType write SetCheckType default ctCheckBox;

// State of colum's checkbox. Column can has it's own checkbox just like 'Node' if CheckBox property set to true.
CheckState: TCheckState read FCheckState write SetCheckState default csUncheckedNormal;

// If set then a checkbox will be drawn in the column's space.
CheckBox: boolean read FCheckBox write SetCheckBox default false;

TVTColumnOption
Added new member coWrapCaption- Caption now could be wrapped across several header lines to fit it's width.
Set corresponding option in column's 'Options' property to true.

class TBaseVirtualTree
// Options for exporting data into RTF, HTML, etc. Used in ContentTo*** procedures.
// TVTExportOption
// eoAll - export all nodes ( regardless check state )
// eoChecked - export checked nodes only
// eoUnchecked - export unchecked nodes only
ExportOption: TVTExportOption read FExportOption write FExportOption default eoAll;

* New events

class TBaseVirtualTree
// Export events

// The meaning of every event could be easely guessed from it's name, so I skip descrition.
// Reason for such events is quiet simple- you can alter tree's data just for exporting and
// not alter it's screen representation.
OnBeforeNodeExport
OnNodeExport
OnAfterNodeExport
OnBeforeColumnExport
OnColumnExport
OnAfterColumnExport
OnBeforeTreeExport
OnAfterTreeExport
OnBeforeHeaderExport
OnAfterHeaderExport

// Header/column mouse events

// Triggers when user clicks on column's checkbox
OnHeaderCheckBoxClick

// Triggers when user clicks on column's glyph
OnHeaderImageClick

* New procedures
class TBaseVirtualTree
// Just a generic export procedure which calls application's methods for variuos export stages.
// Use On***Export events to handle it. For example I use it for exporting data into Excel
ContentToCustom

* Bug Fixes

- ContentToHTML. Incorrect representation of new line in multiline node's data, now replaced by '
'
- ContentToHTML. Missing HTML header. Some browsers missinterpret non latin UTF-8 characters if it's not explicitly told to use the correct charset.
Now '<META http-equiv="Content-Type" content="text/html; charset=utf-8">' added to HTML output.
- ContentToHTML. CSS style .normalborder extened by vertical-align:top; property to display multiline data correctly.
- ContentToHTML. Empty data is represented now by '' since some browsers render no borders around cells with no data in it.
- ContentToRTF. Incorrect representation of new line in multiline data, now replaced by '{\par}'
- IAccessible support can't be compiled with D5.
Conditional {$define IAccessibleSupport} added in VTConfig.inc
And in VirtualTrees.pas added
{$ifdef COMPILER_5}
{$undef IAccessibleSupport}
{$endif}
Angehängte Dateien
Dateityp: zip virtualtreeview_366.zip (682,1 KB, 36x aufgerufen)
Thomas
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:53 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz