Hi,
Set GoText.EditableWhenSelected = true;
I have also the same problem. but GoText.EditableWhenSelected propert is not present in the Gotext class(i am using 2.4.1 version of godiagram). can someone help me out to resolve this problem
[QUOTE=sanjeev]I have also the same problem. but GoText.EditableWhenSelected propert is not present in the Gotext class(i am using 2.4.1 version of godiagram). can someone help me out to resolve this problem
[/quote]
Why do you need editable also enabled? Can’t you just override the AddSelectionHandles or something similar to say when the object is selected change Editable to true. Then you’re sorted.
Otherwise just use another temporary variable to store the selected state…
EditableWhenSelected was added in 3.0. You probably could implement it yourself, but I will say it’s non-trivial, and requires work in GoTool selection handling. It’s easier to upgrade to 3.0.