Posted 17 years ago by ori
Version: 4.0.0256
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Avatar
this code throws the following exception:
InvalidArgument=Value of '0' is not valid for 'DropDownWidth'.
Parameter name: DropDownWidth

open a new windows application and put a syntax editor on the form. Add the following form load event:

private void Form1_Load(object sender, EventArgs e)
{
syntaxEditor1.Document.Language = new ActiproSoftware.SyntaxEditor.Addons.CSharp.CSharpSyntaxLanguage();
TypeMemberDropDownList list = new TypeMemberDropDownList();
list.SyntaxEditor = syntaxEditor1;
syntaxEditor1.Document.Language = DynamicSyntaxLanguage.LoadFromXml("c:\mylocation\ActiproSoftware.XML.xml", 0);
}

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks this is now fixed for the next maintenance release.


Actipro Software Support

The latest build of this product (v24.1.0) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.