09-06-2010 06:46 AM
Hi!
In edit mode tree control has indent / outdent level right - click menu. I need this functionality. Indenting and outdenting items. I've implemented, but the in/out Denting does not works well, it the tag has children.
I am wondering, is it possible to call indent/outdent level right-click menu in run mode?
09-06-2010 06:46 PM
Interesting challenge! The key involves creating your own custom run-time menu items and defining the actions of those items. Consider the following code, attached as an image and LV2010 VI:
09-07-2010 01:01 AM
oh...man.. sorry, but I'm using LV.09
Could you send it to me in version .9
Thanks!!
09-07-2010 01:12 AM
When I saw your soulition I have a problem with that. In the design mode in/outdenting a parent item, all the children will be updated, To even in your source.
I'm looking for a solution for the whole update process. I've started to implement it yesteday, but not has finished yet.
Using depth first search algorithm to get the view all containing elemens. Basically,The real problem is the time and order of using indent level property incrementing/decrementing' couse
| CurrentNode.Indent level - GetPreviousNode.Indent level | > 1 - Indent| outdent is not allowed
09-07-2010 03:54 AM
Successed! 🙂
Soon I'm going to publish my solution!
Thanx again!
09-07-2010 06:14 AM
Here is my code!
Take a look at...