Jump to content

Use Tab key instead of the tab key in movile


asapltda

Recommended Posts

The problem is that it is needed in a mobile application, 
which has 4 tunimedit,
 when the enter or go key is pressed, 
the cursor jumps to the next tunimedit so that you do not have to select the field manually 
What can be done to change the jump automatically between tunimedit?

 

Something similar to the setfocus of a desktop application

tks

gracias por su aportes al la solucion del problema

 

Link to comment
Share on other sites

Example in code

---------------------

procedure TFPRUEBA.UnimEdit1Exit(Sender: TObject);
begin
  WITH Sender AS TUnimEdit do begin
   UnimEdit2.SetFocus ;
   UnimEdit2.SelectAll;
  end;
end;

procedure TFPRUEBA.UnimEdit2Exit(Sender: TObject);
begin
  WITH Sender AS TUnimEdit do begin
   UnimEdit3.SetFocus ;
   UnimEdit3.SelectAll;
 end;

procedure TFPRUEBA.UnimEdit3Exit(Sender: TObject);
begin
  WITH Sender AS TUnimEdit do begin
   UnimEdit3.SetFocus ;
   UnimEdit3.SelectAll;
end;

procedure TFPRUEBA.UnimEdit4Exit(Sender: TObject);
begin
  WITH Sender AS TUnimEdit do begin
 UnimButton1.SetFocus ;

end;

------------------------

Using the go or enter key in the movil phone does not advance to the next tunimedit,
 the setfocus intruction does not position the cursor in the following tunimedit, 
in a windows 7 browser the tab works the enter does not work

 

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...