New topic: Webcontainer, reusing - methods?
<http://forums.realsoftware.com/viewtopic.php?t=42423> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message julgus_sweden Post subject: Webcontainer, reusing - methods?Posted: Sat Jan 28, 2012 3:13 am Joined: Wed Dec 05, 2007 5:17 am Posts: 449 Location: Sweden Hi I have several webpages. I have a webcontainer with some controls. I reuse this container in several diff webpages. Now I want to tie functionality to these controls within the webcontainer which are webpage specific. How do I do that? Maybe a dumb question but I have been trying to figure it out now for some time. If I could pass a reference to a method as a property to webcontainer it would be easy but I cant. Or if I could pass a event back to the webpage which holds the webcontainer it would also solve the problem. _________________ iMac 27" i7, Macbook 13.3,Macbook PRO 15, Mac mini, iPhone 4s & REALStudio... http://www.precis-it.se Top julgus_sweden Post subject: Re: Webcontainer, reusing - methods?Posted: Sat Jan 28, 2012 3:44 am Joined: Wed Dec 05, 2007 5:17 am Posts: 449 Location: Sweden The solution seems to be to give the webcontainer properties which defines everything that I need to address in the webpage that currently is shown. Not a tidy solution but is there any better? _________________ iMac 27" i7, Macbook 13.3,Macbook PRO 15, Mac mini, iPhone 4s & REALStudio... http://www.precis-it.se Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- 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]
