When using the OLEDB/Unicode Grid version 7.0.1.203, there seems to be an odd problem with edit mode justification. On one computer, when the ColDataType is set to something like Currency or Date, the value in the field displays the data right-justified. When editing, the cursor and data is always at the left. This is what I would expect. However, on some computers, I am seeing that this holds true only if the cell is blank. When there is already a value and you start to edit, the cursor and text stays on the right side of the cell. Why would this happen on only some computers? Is there some Windows setting that affects this? I think editing should always be done on the left side of the cell. I saw these differences on all Windows XP SP-2 machines. All normal US/English settings, and all with the grid version mentioned above. Is there a fix for this?
I can easily duplicate this with a test app using this version of the grid on a form with this:
Private Sub Form_Load()
With Grid
.Editable = flexEDKbdMouse
.ColDataType(1) = flexDTBoolean
.ColDataType(2) = flexDTCurrency
.ColDataType(3) = flexDTDate
.ColDataType(4) = flexDTString
.ColDataType(5) = flexDTLong
.ColDataType(6) = flexDTVariant
End With
End Sub
Editing column 2 and 3 will recreate this behavior when there is already a value saved in the cell.