> how can i override or otherwise enhance OnWalkPart? > > i want to add a couple of lines to it to show the > part[-subpart[-subsubpart]] numbers... i can't seem to do what i > want/need to do because it is marked Private... i can't get the info > into or out of my WalkPart routine :?
No reason to modify WalkPart routine. Just write your own similar function in your program. Modification of TMimePart class is not needed. TMimePart does not have a position information inside. Just because you can grab some TMimePart and add it into another TMimePart. For get postition, you must iterate on Subparts (you can do it by your own code, no TMimePart modification needed!). And iterate on subparts of each subpart, etc. It is just unbalaced tree of TMimePart instances. Each TMimePart can have any nymber of Subparts. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public