This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

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

edited May 2013 in LMD ElPack

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

Comments

  • 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.