Jump to content

Recommended Posts

Posted

When you have several tunimedit inside a TUnimForm, and we press a key inside the tunimedit, the mobile keyboard appears and covers the tunimedit where we position ourselves.

Is there a way to have the tunimedit always visible and the tunimedit, move towards the top of the form to avoid being covered by the keyboard

 

Posted

in my application the virtual keyboard does not overlap unimEdit

I didn't do anything special

could there be a problem in the browser?

Screenshot_16.jpg

Posted

Thanks for your interest and answer.

Could you indicate how many edits are in the form? For example, if the form fits 8 edits, if you press enter in the 6 edit, the edit moves to the top and the keyboard does not cover it?

Could you please tell me the version of unigui you use.

Thanks again for your interest.

Posted
5 hours ago, asapltda said:

Could you please tell me the version of unigui you use.

1.90.0.1534

Posted
5 hours ago, asapltda said:

Could you indicate how many edits are in the form?

There is one TunimEdit on the form.

pnlSearch.align := alBottom

Screenshot_16.jpg

Screenshot_17.jpg

Posted

im found the forum the following answer that helps me to fix the problem.

But I will continue looking for the same solution that can be implemented on the client side,

There is someone who can code lkos himself on the client side to prevent the repositioning from being done on the server

 

procedure TFRECIBOPRD.SCROLLINPUT(Sender: TObject);
var
 s:string;
begin
  with sender as tUnimEdit  do
  s:=  inttostr(height);
  s:=  inttostr(TOP + height);

 Self.WebForm.JSInterface.JSCall('getScrollable().scrollTo',  ); 

);

 Self.WebForm.JSInterface.JSCall('getScrollable().scrollTo', );

 , );

end; //// 

end;


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

Self.WebForm.JSInterface.JSCall('getScrollable().scrollTo', ['top']);

 

×
×
  • Create New...