Vsai
08-29-2008, 03:30 AM
the docs say
dotNet Struct MethodsdotNet.addEventHandler()
This method adds an event handler to a dotNetControl
max says:
>> MAXScript Rollout Handler Exception: -- Unable to convert: dotNetControl:wb:System.Windows.Forms.WebBrowser to type: dotNetObject <<
I have a feeling the DotNetControl in the docs should read DotNetObject ;)
So.. Is it possible to add an event handler to a dotnetcontrol? I believe all dotnetcontrols enable the 'on Event arg do' syntax, but the click event for the webbrowser control doesn't work due to not being enabled at the framework level.
looking for a way around this still, i've poked into a few different things. this is one of the few articles i've found about this problem with an actual solution, but i'm truthfully not too sure how to translate this to a maxscript acceptible format: http://ryanfarley.com/blog/archive/2004/12/27/1334.aspx
dotNet Struct MethodsdotNet.addEventHandler()
This method adds an event handler to a dotNetControl
max says:
>> MAXScript Rollout Handler Exception: -- Unable to convert: dotNetControl:wb:System.Windows.Forms.WebBrowser to type: dotNetObject <<
I have a feeling the DotNetControl in the docs should read DotNetObject ;)
So.. Is it possible to add an event handler to a dotnetcontrol? I believe all dotnetcontrols enable the 'on Event arg do' syntax, but the click event for the webbrowser control doesn't work due to not being enabled at the framework level.
looking for a way around this still, i've poked into a few different things. this is one of the few articles i've found about this problem with an actual solution, but i'm truthfully not too sure how to translate this to a maxscript acceptible format: http://ryanfarley.com/blog/archive/2004/12/27/1334.aspx
