I'm using GoComment control in my diagram.
I want to restrict the text entered in the comment control.
ie to set maximum length of the comment control.
Can any one please help me to do this ?
Thanks in Advance . . .
This might be useful: http://www.nwoods.com/forum/forum_posts.asp?TID=571
But instead of replacing the GoIconicNode.Label by overriding GoIconicNode.CreateLabel, you’ll want to override GoComment.CreateLabel to make sure the GoComment.Label is a instance of a subclass of GoText that overrides GoText.DoBeginEdit so that it can customize the TextBox that it creates for in-place editing.