Multiple selection in treewidgets

Author: christoffer.aronsson@ladok.umu.se (voltagecontrol)

Hi,

We need to be able to select multiple nodes in the treeview of a treewidget (not in the list view). Is this somehow possible and if so, how? We've tried to set syntax shorthandcodes REP(0-5000) and EXTENDEDSEL = ON, but this seems to have no effect.

Any ideas?

Best regards
Christoffer, Sweden

1 Comment

  1. Hi Christoffer,

    depending on the nature of a tree widget, you can only mark a single node.

    But THINK FIRST ("implementation follows intention") can spark a way to get that functionality:

    The example (8401, works even in older tree widgets) is available on www.uli-merkel.de/dito
    open the sitemap and go to "_CX Code eXplained"; you find a testset and a video.

    Success, Uli

    P.S. please give me your feedback on the material provided.

     


    Author: ulrich-merkel (ulrichmerkel@web.de)