Adding a new child node , not immedatly appear in the treeview.

Started by stephan_35 · 2009-11-26 13:04 UTC · 9 replies · SMF topic #1033

Hello,

Is anybody can confirm that , at the moment, adding a new child node in a treeview does not appear immediatly, and this only if it is the first child of a parent node.

I hate to expand (0 or 1) the parent node to see expand icon.

Is this will be resolved ?

PS: i will spend time on 6.0.0.14 next week.

Thanks.
Best regards.
Hi Stephan, I cannot reproduce this in my forms. But can you tell us the settings for event invoke settings for the form AND the tree control?

Fred
author=Fred Tomke link=topic=1033.msg5321#msg5321 date=1259315141 wrote:
Hi Stephan, I cannot reproduce this in my forms. But can you tell us the settings for event invoke settings for the form AND the tree control?


Hi Fred,

I always use asynchronous event settings for the both  ;)

Best regards.
That means it is a palette or other not modal form?

Fred
author=Fred Tomke link=topic=1033.msg5324#msg5324 date=1259325972 wrote:
That means it is a palette or other not modal form?


Sorry, i didn't understood your final question  ;D

But seems to have the trouble on these (tested) : Palette and modeless dialog
Modal,control bar : not tested

Best regards.
Yes, you gave me the correct answer: you've tested it on forms which are not modal.  ;)

That's why I can suggest you to switch event invoke property to synchronous event invoke just for testing if it still occurs.

Fred
author=Fred Tomke link=topic=1033.msg5329#msg5329 date=1259327716 wrote:
That's why I can suggest you to switch event invoke property to synchronous event invoke just for testing if it still occurs.


I just tried with a sample , with palette and treeview set to synchronous : nothing change .

with 6.0.0.6 and 6.0.0.14

Opps, awfull ! my sample return runtime error with dcl_control_getText (recurvise error ! have to shut down autocad  ???)  , have to see also that with owen  :(
I can reproduce in the treeview sample that adding a child does not update the icon.
I've added code to repaint the control after adding a child node, so that problem should be fixed in Alpha 15.
author=owenwengerd link=topic=1033.msg5339#msg5339 date=1259361994 wrote:
I've added code to repaint the control after adding a child node, so that problem should be fixed in Alpha 15.


Thanks, waiting for alpha 15 to have a try

Best regards.