Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,701 of 9,834    |
|    Jim Moseley to All    |
|    Setting OleAuto variables to sub-objects    |
|    17 Apr 09 16:56:10    |
      From: jmose@mapson.triptracker.com              Greetings, all.              After an hour of trying to figure this out, I'm confused.              How can I assign an OleAuto variable to a sub-object returned with       oa.enumObjects(dyn)?        I'm trying to write a recursive 'enumOleProperties' method, to fully expose       everything in one shot. But, I'm stuck at the basics!              Pseudo-code example:        var        oa, oaChild oleAuto        dyn dynArray[] anytype        endVar        if oa.attach(MyOCX) then        if oa.enumObjects(dyn) then        forEach subObjStr in dyn        oaChild.attach(oa.(subObjStr)) ; <-- how do I do this????        endForEach        endif        endif              Thanks,       Jim Moseley              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca