New topic: 

AddHandler from a distance

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        neonash7777          Post subject: AddHandler from a 
distancePosted: Mon Oct 08, 2012 12:39 pm                         
Joined: Mon Nov 29, 2010 7:01 pm
Posts: 262                I use the addHandler ability quite a bit because I 
find it more convenient than having a ton of subclasses or conditional 
scripting. However I'm finding in the web version it doesn't always work.

I have a WebDialog with a BarChart container. The BarChart has its own set of 
Bar containers.
When the user MouseOvers a bar I want it to Show details about that bar. The 
webdialog is in charge of telling the barchart how many bars to add with what 
information etc... So I have the webdialog do 
AddHandler b.MouseEnter, AddressOf BarMouseEnter
And the BarMouseEnter is an event on the webdialog that knows how to show the 
proper information over the bar.
The problem is that the event never gets raised(I put a breakpoint to check).

I'm assuming this has something to do with embedding of containers. Is this a 
bug or proper behavior? What can I do to work around this? Thoughts? Thanks!   
                             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