Your class inherits from TStringGrid, SelectCell is inherited - this means that you must use the EXACT parameters like in the ancestor. So: Hold CTRL down and click on SelectCell. Lazarus will open the source file with the declaration of TStringGrid.SelectCell (or implementation, depending on version). Here you can see the correct call parameters. In this case you'll find that ARow and ACol are declared as "integer", not as "longint".
Navigating through source code by using CTRL-click method is the best method to learn about how the source works.