The following code sets the text style of the current cell or current selection to inset using the constant value.
Sub ModHFGrid1_GotFocus ModHFGrid1.CellTextStyle =flexTextInset End Sub