Tree Component For Navision
The Tree Component for use on Navision forms. Source code (Delphi 7) included.
Changing size of TreeView according to Navision owner subform.
What has this to do with common sense? :?: I dont think it is of any use releasing code snippets, if you cant figure out how to do it yourself you probably wont easally succeed in creating own components. At least not with .NET maybe delphi is more easy ...
I myself was suprised Delphi could do this.
In a world without Borders or Fences, who needs Windows and Gates?
I think it is a create thing to release the source code. Now anybody can figure out how to do its with the programming language he prefers and build his own component. Perhaps they will release the solutions to and we get solutions in many languages.
What has this to do with common sense? :?: I dont think it is of any use releasing code snippets, if you cant figure out how to do it yourself you probably wont easally succeed in creating own components. At least not with .NET maybe delphi is more easy ...
I myself was suprised Delphi could do this.
Well, I believe that you can learn a lot by studying how something is done and then try to take it further. It is very true that copying something without thinking about what you are doing is a waste of time.
You must admit that this is not a snippet, it is a fully working program.
BTW: It is in fact very easy to create a dll in Delphi.
Well, I believe that you can learn a lot by studying how something is done and then try to take it further. It is very true that copying something without thinking about what you are doing is a waste of time.
You must admit that this is not a snippet, it is a fully working program.
BTW: It is in fact very easy to create a dll in Delphi.
maybe off topic but:
Code snippet is indeed the wrong word. I dont know delphi but i created this same thing in C++ .NET and providing sources for C++ i think is not a good idea because its a 'sensitve' language and embedding controls in C++ is in fact tricky in a way that you can mess things really up and therefore i feel this only needs to be done by more advanced C++ programmers.
And this category of C++ programmers can easally figure out what to do because it is verry well documented in MSDN.
Delphi might be more forgiving i dont really know delphi.
way of topic:
I sense more and more programmers look for code snippets which is ok in some ways but i wonder if they still properly understand what is happening. I think there are dangers in that. I always reccomend figuring out how things work by giving leads and please read MSDN or other books you should understand what is happening.
In a world without Borders or Fences, who needs Windows and Gates?
The source code has been published only for understanding how to
attach the own component to Navision form.
Unfortunately I have spent one day off for testing the assumptions instead of going with my son on fishing. To whom such victims are necessary.
In fact it is always good when it is possible to look, understand,
and make. What for to waste time on the invention of that
that already have thought up. Well and if who
that considers on another, this code can simply not look.
Please I need to modify this componente because i don´t know how i can to put a child like a parent and put his child´s node :-s Some body can help me???
We have downloaded the 'Tree Component for Navision' from the download area and have been able to successfully use it. We are however encountering one problem with it. Whenever a user opens multiple tree forms he will get the following error:
'an exception was raised in method DestroyComp' followed by 'system error - code 1400 invalid window handle'.
Any suggestions on how we can resolve the issue will be appreciated.
Best regards,
Bennie
No. We are using the 'Tree Component' for displaying various item information.
We have created separate forms, for viewing different information. The one form will view category information while the other will view item substitutions. When we open one form without the other, all works ok without any problems. However when we open both forms at the same time, the system crashes and we get the error message (when you start switching/jumping between forms).
Comments
Just a bummer it is in Delphi instead of .NET but hey, we still got to do SOME effort right. :-k
I myself was suprised Delphi could do this.
I think it is a create thing to release the source code. Now anybody can figure out how to do its with the programming language he prefers and build his own component. Perhaps they will release the solutions to and we get solutions in many languages.
Well, I believe that you can learn a lot by studying how something is done and then try to take it further. It is very true that copying something without thinking about what you are doing is a waste of time.
You must admit that this is not a snippet, it is a fully working program.
BTW: It is in fact very easy to create a dll in Delphi.
maybe off topic but:
Code snippet is indeed the wrong word. I dont know delphi but i created this same thing in C++ .NET and providing sources for C++ i think is not a good idea because its a 'sensitve' language and embedding controls in C++ is in fact tricky in a way that you can mess things really up and therefore i feel this only needs to be done by more advanced C++ programmers.
And this category of C++ programmers can easally figure out what to do because it is verry well documented in MSDN.
Delphi might be more forgiving i dont really know delphi.
way of topic:
I sense more and more programmers look for code snippets which is ok in some ways but i wonder if they still properly understand what is happening. I think there are dangers in that. I always reccomend figuring out how things work by giving leads and please read MSDN or other books you should understand what is happening.
attach the own component to Navision form.
Unfortunately I have spent one day off for testing the assumptions instead of going with my son on fishing. To whom such victims are necessary.
In fact it is always good when it is possible to look, understand,
and make. What for to waste time on the invention of that
that already have thought up. Well and if who
that considers on another, this code can simply not look.
Can i get the root of the child ?
Thanx.
I did this in NAV 1.3 using pure C/SIDE, so not sure why you would want to add extra code. Tree View in Navision with a "Double Click-able expand button. is this what you are after.
Mind you, not much point now, since it is standard in 5.00
Thanks for the reply.
No. We are using the 'Tree Component' for displaying various item information.
We have created separate forms, for viewing different information. The one form will view category information while the other will view item substitutions. When we open one form without the other, all works ok without any problems. However when we open both forms at the same time, the system crashes and we get the error message (when you start switching/jumping between forms).
This is done in version 4.1
Thanks
I hope there is someone, who could help me.
I want to show a Form, programmed in a C# DLL in Navision like the Treeview example .
Unfortunately I don't have a delphi Compiler, so I couldn't learn by the Delphi Source.
I hope anyone can show me a C# or VB.NET example, how to do this.
Thanks a lot 8-[
The only form I found that had the tree view was the Order Planning screen.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book