Hello,
Firstly - Nice forum!
My question: I'm using TStringGrid. When a user edits a cell, I call the SetEditText() Method. It passes me AnsiString of value entered in the cell.
What I would like to do, is if the AnsiString Value is [enter] - do something.
Normally I would do something like if (String == VK_RETURN), but it of course does not work with AnsiString.
What is the correct way to implement such functionality? (I want to catch when user presses return inside a cell)
Thanks in advance. I'm sorry - I'm new to Borland and C++ In general.
Firstly - Nice forum!
My question: I'm using TStringGrid. When a user edits a cell, I call the SetEditText() Method. It passes me AnsiString of value entered in the cell.
What I would like to do, is if the AnsiString Value is [enter] - do something.
Normally I would do something like if (String == VK_RETURN), but it of course does not work with AnsiString.
What is the correct way to implement such functionality? (I want to catch when user presses return inside a cell)
Thanks in advance. I'm sorry - I'm new to Borland and C++ In general.