Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

TElXTree in virtual mode: how to change font in runtime?

Hello,

ElXTree.VirtualityLevel=vlTextAndStyles. Style.FontSize is assigned in ElXTree.OnVirtualStyleNeeded event. If I change the value of FontSize, only font size of the main column changes. How to change the FontSize on the fly, how to property re-render the (visible part of the) tree?

-Dmitry

Tagged:

Comments

  • 2 Comments sorted by Votes Date Added
  • I just checked out Virtual properties demo in ElXTree MegaDemo project.

    E.g. when I add below codepart:

    if (SectionIndex mod 2 = 1) then
      begin

    the line
        Style.FontSize := 20;

    all green columns are paint with large fonts. Please check out example code and explain how to reproduce your issue.

Sign In or Register to comment.