Started by roy_043 ·
2011-09-17 11:27 UTC ·
2 replies · SMF topic #1679
roy_0432011-09-17 11:27 UTC
I notice that dcl_Tree_SelectSetFirstVisible does expand and scroll to display the item, but the item does not get selected. Is this a Bricscad issue or does the same happen in AutoCAD?
owenwengerd2011-09-19 05:27 UTC
The problem happens also in AutoCAD. I'm not sure why it doesn't work correctly or whose fault it is, but it is definitely a bug.
owenwengerd2011-09-19 05:40 UTC
On second thought, after a careful reading of the {2}, I believe this is working as designed. The name should be just SetFirstVisible, but it seems that the control uses the TVM_SELECTITEM message to do the work, hence "Select" in the name. I will correct the OpenDCL documentation.