Subject | TIB_Grid and editing |
---|---|
Author | akahanek@qgir.cz |
Post date | 2002-02-13T10:05:47Z |
Hi All,
I would like to ask a question about editing data in TIB_Grid. Suppose you have some rows with for example text fields displayed in a grid. Dataset is in browse mode, some cell with text in in is focused. Then I observed 2 situations:
1. When you type a key, then if AutoEdit is on, the content of the cell is not replaced with the typed key, but the key is appended to the end of the text. (The standard VCL Grid replaces the text immediately), but the second situation is pretty much worse:
2. When you click into the cell, the dataset is still in browse mode and the text inside the cell appear _selected_. Then when you type a key, user expects the selected text to be replaced with the typed key, but the key is appended to the end of the text again. This is very strange. I have played with several properties of TIB_Grid with no success. Also looking into source did not make me to understand, how to solve this.
Do you have any hints?
Thanks
Ales
I would like to ask a question about editing data in TIB_Grid. Suppose you have some rows with for example text fields displayed in a grid. Dataset is in browse mode, some cell with text in in is focused. Then I observed 2 situations:
1. When you type a key, then if AutoEdit is on, the content of the cell is not replaced with the typed key, but the key is appended to the end of the text. (The standard VCL Grid replaces the text immediately), but the second situation is pretty much worse:
2. When you click into the cell, the dataset is still in browse mode and the text inside the cell appear _selected_. Then when you type a key, user expects the selected text to be replaced with the typed key, but the key is appended to the end of the text again. This is very strange. I have played with several properties of TIB_Grid with no success. Also looking into source did not make me to understand, how to solve this.
Do you have any hints?
Thanks
Ales