Hello, how can i change virtual keyboard type like numberpad for grid column or editor ?
thanks
Hi,
You can change the virtual keyboard type via the OnGetInplaceEditorProperties
procedure TForm1.TMSFNCDataGrid1GetInplaceEditorProperties(Sender: TObject;
ACell: TTMSFNCDataGridCellCoord; AInplaceEditor: TTMSFNCDataGridInplaceEditor;
AInplaceEditorType: TTMSFNCDataGridInplaceEditorType);
begin
if AInplaceEditor.IsEdit then
AInplaceEditor.AsEdit.KeyboardType := TVirtualKeyboardType.NumberPad;
end;
This is general code, but can be further fine tuned with the cell coordinates.
Hello Pieter,
It works great, thank you for your help, for me this tmsgrid is really huge, so much events and possibilities,
thank you, very good support !
1 Like