TmsFncGrid

I use it on Android and i have 2 problems.
First when i enter the cell i need to open NumPad of my phone and not the keypad.
The second problem is when i press done on my keyboard the app crashes and closes. If i touch the screen of app keyboard closes and works fine.

Hi,

You can change the KeyBoardType with
TMSFNCGrid1.CellEdit.KeyboardType := TVirtualKeyboardType.NumberPad;

Can you provide more info about the exception/error? Does the application throw an error when debugging?

No error just destroys the app.

Does this happen in a new project as well with for example a TEdit?

Yes i didnt notice before, but does the same in tmsfncedit and on tmemo.

the last i say "grid" is tmsfncgrid.
tmemo worked the error came when the activecontrol goes to tmsfncedit.

Are you able to reproduce this issue in a new blank project with a TEDIT?

In new works fine. i check it in tedit , tmsfncedit , tmsfncgrid.

Ok i made some changes to my app. I found that if you use Valid Chars (1 2 3 4 5 6 7 8 9 . , ) then destroys the app.

I remove the tmsfncgrid and put a new one with the default parameters.
I use with code only
kavagrid.CellEdit.KeyboardType := TVirtualKeyboardType.NumberPad;
kavagrid.Cells[0,0]:='ID';
kavagrid.Cells[1,0]:='ΠΡΟΙΟΝ';
kavagrid.Cells[2,0]:='Σ.ΤΕΜ.';
kavagrid.Cells[3,0]:='ΚΙΒ.';
kavagrid.Cells[4,0]:='ΤΕΜ.';
kavagrid.Cells[5,0]:='ΛΗΞΗ';
kavagrid.Cells[6,0]:='Α/ΦΗ';
kavagrid.AutoSizeColumns(true);

kavagrid.SortColumn:=5;

and still crashes.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.