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

Started by stephan_35, November 26, 2009, 05:04:40 AM

Previous topic - Next topic

stephan_35

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.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Quote from: Fred Tomke on November 27, 2009, 01:45:41 AM
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.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Quote from: Fred Tomke on November 27, 2009, 04:46:12 AM
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.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

stephan_35

Quote from: Fred Tomke on November 27, 2009, 05:15:16 AM
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  :(
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql

owenwengerd

I can reproduce in the treeview sample that adding a child does not update the icon.

owenwengerd

I've added code to repaint the control after adding a child node, so that problem should be fixed in Alpha 15.

stephan_35

Quote from: owenwengerd on November 27, 2009, 02:46:34 PM
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.
OpenDCL 6.0.0.6 / Editor 5.1.2.3  / Vista 32 Bits
Development of  specific tools for trades in AutoLisp - php - sql