tag:blogger.com,1999:blog-24989625.post1164752729333877752..comments2024-03-13T13:07:08.623-05:00Comments on Doug Hennig: Cleaning up _MemberDataDoug Hennighttp://www.blogger.com/profile/00208525487680844022noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-24989625.post-15003743032370413902009-04-14T10:39:00.000-05:002009-04-14T10:39:00.000-05:00Hi Cesar.
I have rewritten MDCleaner.PRG to use t...Hi Cesar.<br /><br />I have rewritten MDCleaner.PRG to use the MS XML DOM object rather than XMLTOCURSOR() so only those nodes that previously had "favorites" now do. Rather than posting it as a new PRG, it's part of the next release of PEM Editor.<br /><br />DougDoug Hennighttps://www.blogger.com/profile/00208525487680844022noreply@blogger.comtag:blogger.com,1999:blog-24989625.post-65807192756662982982009-04-12T19:55:00.000-05:002009-04-12T19:55:00.000-05:00Hi Doug,In FoxCHarts I'm using Memberdata a lot, f...Hi Doug,<BR/><BR/>In FoxCHarts I'm using Memberdata a lot, for Property scripts and also to control the captions of the properties and methods.<BR/><BR/>I reached very quickly the 8K limit, so I had to create a subclass and add more _Memberdata info to it.<BR/><BR/>I ran your solution, and the memberdata is indeed much easier to understand, but strangely, it became bigger (in bytes) than the original.<BR/><BR/>For my sample, the _Memberdata had 8160 characters and after the "transformation" they became 10307.<BR/><BR/>Note that the size of 10307 chars is not supported, and my class could not be saved.<BR/><BR/>Opening the modified _MemberData, I noticed that some characters were added:<BR/><BR/>ORIGINAL XML:<BR/>memberdata name="ogfx" type="property" display="oGfx"/<BR/><BR/>MODIFIED XML:<BR/>memberdata name="ogfx" type="property" display="oGfx" favorites="false"/<BR/><BR/>The difference is that the new XML brings the info [favorites="false"]<BR/><BR/>Saving space is fundamental too, do I'd eliminate the [TAB] at the beginning of the lines.<BR/>One single character per property may be valuable, and allow a new property to receive a MemberData script.<BR/><BR/>Anyway, the 8K limit is very frustrating, and the way that it was designed is very space consuming too.<BR/><BR/>eg:<BR/>memberdata name="ogfx" type="property" display="oGfx" favorites="false"/<BR/><BR/>could be:<BR/>md nam="ogfx" typ="prop" disp="oGfx" fav="F"/<BR/><BR/>Regards<BR/><BR/>CesarCesarhttp://weblogs.foxite.com/vfpimagingnoreply@blogger.com