asapltda Posted September 16, 2020 Share Posted September 16, 2020 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 Link to comment Share on other sites More sharing options...
x11 Posted September 17, 2020 Share Posted September 17, 2020 in my application the virtual keyboard does not overlap unimEdit I didn't do anything special could there be a problem in the browser? Link to comment Share on other sites More sharing options...
asapltda Posted September 18, 2020 Author Share Posted September 18, 2020 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. Link to comment Share on other sites More sharing options...
x11 Posted September 18, 2020 Share Posted September 18, 2020 5 hours ago, asapltda said: Could you please tell me the version of unigui you use. 1.90.0.1534 Link to comment Share on other sites More sharing options...
x11 Posted September 18, 2020 Share Posted September 18, 2020 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 Link to comment Share on other sites More sharing options...
asapltda Posted September 18, 2020 Author Share Posted September 18, 2020 Tks X11, the problem occurs when the form has several edits or the edit exceeds approximately half of the form Link to comment Share on other sites More sharing options...
x11 Posted September 19, 2020 Share Posted September 19, 2020 no problem I have more than 50 different components on the form for data entry or selection Link to comment Share on other sites More sharing options...
x11 Posted September 19, 2020 Share Posted September 19, 2020 try any browser: Firefox, Chrome etc Link to comment Share on other sites More sharing options...
asapltda Posted September 19, 2020 Author Share Posted September 19, 2020 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']); Link to comment Share on other sites More sharing options...
asapltda Posted September 19, 2020 Author Share Posted September 19, 2020 Self.WebForm. JSInterface.JSCall('getScrollable().scrollTo', ); Link to comment Share on other sites More sharing options...
asapltda Posted September 19, 2020 Author Share Posted September 19, 2020 corchete ' posicion ' corchete Link to comment Share on other sites More sharing options...
Recommended Posts