Hi there,
i want to prevent that the TextEditor falls automatic into the Edit Mode when the Control gets focused.
I thought that the Propery "dontEnterEditModeOnFocus" will do that but its value gets always set to false after i have set it to true.
Link to API Documentation
isnt that property the rigth way to do that?
thank you.
Im using an extended version of the TextEditor as a mix between a TextBox and a ListView.
It has a AutoCompletion and a Search Function wich can apply a "Item" into the TextEditor.
In this case i need to simulate the Look&Feel and the Behavior of a ListView Control.
But when the Control falls into Edit Mode when it receives the Focus,
the user does not have a real ListView Feeling... so i need to prevent that.
i thought the "dontEnterEditModeOnFocus" Property would be perfect for that...
when the TextEditor contains a "Item" the Value = true; otherwise = false...
when i can cancel the Edit Mode in the Before Event its ok too...
please implement the DontEnterEditModeOnFocus Property :)
thanks
Well, it's hard to tell exactly what you want to do here and why. Why do you want to stop the cell from entering edit mode. And more important, when do you want to do this? Under what conditions?
Why doesn't setting CellClickAction solve the problem? If you set this to SelectRow, for example, then clicking a cell will select the row and not enter edit mode on that row.
Another thing you might want to look at is the BeforeEnterEditMode event, which you can cancel.
A Property which prevents the Auto EditMode on Focus would be perfect!
i had looked out for the "CellClickAction" but i did not found anything.
can you tell me more about how to prevent the Auto EditMode on Focus?
This variable is a protected member, it's not a property, and it's not intended to be used in this way.
It sounds like maybe you need to set CellClickAction on the Override.