Tree Component For Navision

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2009-01-23 in Download section
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.

http://www.mibuso.com/dlinfo.asp?FileID=499

Discuss this download here.

Comments

  • Dennis_DecoeneDennis_Decoene Member Posts: 123
    At last someone who has the guts and common sense to share the code so we can all learn from the mechanism.

    Just a bummer it is in Delphi instead of .NET but hey, we still got to do SOME effort right. :-k
  • janpieterjanpieter Member Posts: 298
    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?
  • BeniHochBeniHoch Member Posts: 15
    =D> Thank you for the source code! =D>

    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.
  • Dennis_DecoeneDennis_Decoene Member Posts: 123
    janpieter wrote:
    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.
  • janpieterjanpieter Member Posts: 298
    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?
  • WaleraWalera Member Posts: 7
    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. :wink:
  • wirowiro Member Posts: 92
    I like this tree, unfortunatelly the child doesn't know its parent.
    Can i get the root of the child ?
    Thanx.
  • ilianadlbilianadlb Member Posts: 40
    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???
  • David_SingletonDavid_Singleton Member Posts: 5,479
    Hi,

    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

    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
    David Singleton
  • bennie_de_beerbennie_de_beer Member Posts: 43
    Hi,
    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
  • GM71GM71 Member Posts: 1
    Hi everybody,

    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-[
  • Alex_ChowAlex_Chow Member Posts: 5,063
    Hmm... What form is the tree view for Production BOM in version 5.0? I can't find it for the life of me... ](*,)

    The only form I found that had the tree view was the Order Planning screen.
Sign In or Register to comment.