New topic: 

problem with delegate.invoke

<http://forums.realsoftware.com/viewtopic.php?t=46007>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        gecomail          Post subject: problem with 
delegate.invokePosted: Wed Nov 21, 2012 6:01 am                         
Joined: Tue Oct 25, 2011 4:28 am
Posts: 25                hi i have problem with the delegate.invoke...
i have webPageA with a SubA (subA has simple code and a lot of call to other 
sub that are in module)

i have webPageB with a delegate propriety with name "delB" and another prop.. 
"ptrSub" as PTR.
in webPageA in a webCommandButton as name webCmdA with  this code : 

webPageB.ptrSub=addressOf(wepPageA.SubA)
webPageB.show

in webPageB i have a webCmdButton as name "cmbButB" with this code :
dim U as new delB(webPageB.ptrSub)
U.invoke
webPageB.close

now i click on webPageA.WebCmdA
then i click on webPageB.cmdButB

i think that the code of cmdButB call the subA but if in subA there are call to 
other sub (that are in main module)
the app end (without error messages)
anyone can help me?
sorry for my bad english   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to