Giter Site home page Giter Site logo

Comments (4)

MShark67 avatar MShark67 commented on June 2, 2024

It appears this is directly related to the issue I entered yesterday. #1184 . You can temporarily fix it by changing your TForm2.FromCreate as follows:

procedure TForm2.FormCreate(Sender: TObject);
begin
  VirtualStringTree1.RootNodeCount := 200;
  // Fixing a bug related to how the VTree saves its colors:
  VirtualStringTree1.Colors.BorderColor := clBtnFace;
  VirtualStringTree1.Colors.DisabledColor := clBtnShadow;
  VirtualStringTree1.Colors.DropMarkColor := clHighlight;
  VirtualStringTree1.Colors.DropTargetColor := clHighlight;
  VirtualStringTree1.Colors.DropTargetBorderColor := clHighlight;
  VirtualStringTree1.Colors.FocusedSelectionColor := clHighlight;
  VirtualStringTree1.Colors.FocusedSelectionBorderColor := clHighlight;
  VirtualStringTree1.Colors.GridLineColor := clBtnFace;
  VirtualStringTree1.Colors.HeaderHotColor := clBtnShadow;
  VirtualStringTree1.Colors.HotColor := clWindowText;
  VirtualStringTree1.Colors.SelectionRectangleBlendColor := clHighlight;
  VirtualStringTree1.Colors.SelectionRectangleBorderColor := clHighlight;
  VirtualStringTree1.Colors.SelectionTextColor := clHighlightText;
  VirtualStringTree1.Colors.TreeLineColor := clBtnShadow;
  VirtualStringTree1.Colors.UnfocusedColor := clInactiveCaptionText;
  VirtualStringTree1.Colors.UnfocusedSelectionColor := clInactiveCaption;
  VirtualStringTree1.Colors.UnfocusedSelectionBorderColor := clInactiveCaption;
end;

-Mark

from virtual-treeview.

Molochnik avatar Molochnik commented on June 2, 2024

Probably, I noticed it 2-3 months ago though didn't consider it as an issue, just a nuisance maybe. I'll better wait for an internal fix.

from virtual-treeview.

joachimmarder avatar joachimmarder commented on June 2, 2024

Can you please confirm that the issue is fixed with the latest changes?

from virtual-treeview.

Molochnik avatar Molochnik commented on June 2, 2024

Yes, the issue is fixed. Thanks!

from virtual-treeview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.