Hi,
Thanks for the sample. It clearly illustrates the problem. I will take a
look what's going on.
Best,
Scuri
From: Benoit Germain [mailto:[email protected]]
Sent: segunda-feira, 3 de fevereiro de 2014 12:03
To: IUP discussion list
Subject: [Iup-users] [IUP 3.10.1, Windows 7 64 bits] Problem selecting a
branch in IupTree
Hello,
I have an application where I populate dynamically a tree with branches and
leaves based on the exploration of external resources, that worked fine with
IUP 3.8 (as far as I can remember). I populate a branch with its children
when said branch is selected ans has no child, in selected_cb(). But with
3.10.1, I can no longer select a branch when it is the sole element in the
tree, thus preventing me from doing anything useful in that case (change the
getResources() function at the beginning of the script).
Even when I populate the tree with more than one branch, I can only select
the second one before I can select the first. Setting tree.value = -1
doesn't change anything. Setting ADDEXPANDED to "NO" doesn't enable me to
select the first branch either, and has the additional issue of preventing
me from expanding the branches after having dynamically populated them.
How can I tell the tree I want to be able to select the first branch I added
right from the start?
Regards,
--
Benoit.
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users