Git Product home page Git Product logo

Comments (5)

joachimmarder avatar joachimmarder commented on August 15, 2024 1

I used the new type TNodeHeight at a few more places and the control now displays correctly, but you can't scroll to the bottom. The problem is that certain type like the Win32 SCROLLINFO struct and TRect are based on Integer (Int32) and so are limited to 2^31 pixels.

I still don't think it is a good idea to present >50 million nodes to a user.

from virtual-treeview.

joachimmarder avatar joachimmarder commented on August 15, 2024

Please respect our guidelines on the project homepage for submitting bugs. Please include your version of Virtual TreeView and Delphi, and attach a sample compiling project as ZIP to your report that allows to replicate the problem. If only small changes are required, a description is sufficient how a demo projects needs to be changed in order to replicate the bug. If you already have a solution, please supply a patch file.

from virtual-treeview.

joachimmarder avatar joachimmarder commented on August 15, 2024

When setting large number of nodes (e.g. 200 millions) t

I honestly don't think it is a good idea to present 200 million nodes to a user, even if that would be theortically and technically possible.

Because it have type TDimension = Integer

Where possible we could use NativeInt instead of Integer. That way we can overcome this limit in Win64 applications.

from virtual-treeview.

joachimmarder avatar joachimmarder commented on August 15, 2024

I gave it a try, let me know what you think.

from virtual-treeview.

jin-x avatar jin-x commented on August 15, 2024

@joachimmarder, thanks for answers and sorry for wrong report design.
RAD Studio 12.1 (version 29.0.51961.7529).
VirtualTreeView version 8.0.3.
Demo project: HeightErrorDemo.zip
There's 50 million nodes with large font size.

Unfortunately, your fix with TNodeHeight alias did not solve the problem, in fact nothing has changed :(

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.