public void run() { #define.strgG(2855) ; super(); //enable Grid Filter this.task(#strgG); }Therefor the grid should be the selected control. If this isn't the case use the firstField Method of the form:
public void firstField(int _flags=1) { ; Grid.setFocus(); }