Hi, I've been looking through the example programs that came with my Delphi 5 and I can't find anything specifically that is similar to what I want to do. I'm looking for some suggestions for an approach.
I've got an application running on a PIC micro-controller that has a 20 character by 2 line LCD display. I've built up a menu structure that includes the text to be displayed along with numbers to be displayed on the bottom line of this display. The type of number or text or Boolean flag is also in the record. The records are constructed into a tree structure with the leaf nodes holding the numerical data. The nodes above the leaf are double linked lists. Needless to say, editing the C menu file to add a record can be fraught with difficulties if I get a link pointer wrong. Since I often add at the end of the array of records, (the array location is the record address), after a while the tree is quite unbalanced and difficult to follow. So I thought it would be easier to create a Delphi app that lets me click on a MAKE_RECORD button which drops a form onto my main form in which I can fill in the LCD text and default values and types of data etc. Then to put it in the tree I'd like to in effect draw lines (or links) between the existing forms already on the this main form and be able to break other links. Essentially draw my tree menu structure. When developing a Delphi application, we have a form, and we drop buttons etc. onto that form. Is there an example somewhere on how to do this in an application? Once built then I could just walk the tree and generate the C language file to be included into my application. Another upside is I could take my Delphi simulation of the application and use the buttons to walk through this same menu structure to simulate the end product. Suggestions? Thanks John Dammeyer _______________________________________________ Delphi mailing list -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi