Opened a script in the editor when connected to a SQL Server database.
1. Selected a SQL statement from the script.
2. <Right Click> in Editor | Snippets | Add to Favorites.
3. Typed in Snippet Name and description | OK
This results in the following Exception error:
"System.InvalidCastException: Unable to cast object of type 'System.Windows.Forms.Control' to type 'Quest.Toad.CodeSnippets.SnippetsManagerControl'.
Stack trace:
at Quest.Toad.CodeSnippets.QuickFolderForm.buttonPanelControl_OKButtonClick(Object sender, EventArgs e)
at Quest.Toad.Controls.ButtonPanelControl.DoOkButtonClicked(Object sender, EventArgs args)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)"