This interface describes string grid control service. If a service derived from this interface is assigned to string grid control, it will be used to trigger additional notifications provided by standard string grid controls like StringGrid and ValueListEditor.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class IStringGridService :public virtual ICustomGridService
{
public:
virtual void NotifyOnCellChange( // Called when cell text is about to be changed manually
const int column, const int row, // Cell coordinates
const String &value, // New cell value
bool &allowed) = 0; // Whether the change is allowed. Default true. Set it to false, to prevent change
virtual void NotifyOnSetFocusCell( // Called when cell becomes focused(enters editing mode)
const int column, const int row) = 0; // Cell coordinates
virtual void NotifyOnKillFocusCell( // Called when cell becomes unfocused(exits editing mode)
const int column, const int row) = 0; // Cell coordinates
};
Namespace: | nitisa::standard |
Include: | Standard/Controls/IStringGrid.h |