Date Posted:
Product: TIBCO Spotfire®
Product: TIBCO Spotfire®
Problem:
Application crash when launching a Windows Form dialog from third party components.
Solution:
If the forms component launches a dialog using Show/ShowDialog without providing an owner parameter, the application may crash if the current active window is TransparentBrowser.
This is handled for any scenario from within the application (owner is provided where needed) in version 7.0. However, this may be an issue for 3rd party components, such as when launching via the context menu in a tabular plot. Partners and other 3rd party developers need to specify an owner when launching a Windows Form dialog.
Use the override with a window when using either of these methods:
Form.Show(IWin32Window) Method
Form.ShowDialog Methodhttp://msdn.microsoft.com/en-us/library/System.Windows.Forms.Form.Show(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/System.Windows.Forms.Form.ShowDialog(v=vs.110).aspx
Comments
0 comments
Article is closed for comments.