Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8968037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:22:49+00:00 2026-06-15T17:22:49+00:00

is there an option to remove the keyboard from screen on iOS ? I

  • 0

is there an option to remove the keyboard from screen on iOS ? I use Tabris (http://developer.eclipsesource.com/tabris/) and Java in this context.

My problem is that i use two textfields to enter a user/passwort combination. After I filled these textfields and press a button to continue the keyboard from iOS is always shown but I want that the keyboard no longer appears. Only after I click somewhere then the keyboard disappears.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:22:51+00:00Added an answer on June 15, 2026 at 5:22 pm

    On Tabris, you can “open” the keyboard programmatically by setting the Focus on a Control which uses the keyboard (like org.eclipse.swt.widgets.Text ).
    To hide the keyboard, just set the Focus to a Control which does not require a keyboard, like the parent composite of your Textfield.

    In your case I would add al line to the SelectionListener of your Button to set Focus on the Parent of your Textfields, then start the Login procedure.

    Here is some code to play and understand the Focus mechanism:

    public class FocusTest implements EntryPoint {
    
    public int createUI() {
        Display display = new Display();
        Shell shell = new Shell(display, SWT.NO_TRIM);
        shell.setMaximized(true);
        GridLayoutFactory.fillDefaults().applyTo(shell);
        createContent(shell);
        shell.open();
        //while (!shell.isDisposed()) {
        //  if (!display.readAndDispatch()) {
        //      display.sleep();
        //  }
        //}
        return 0;
    }
    
    private void createContent(final Composite parent) {
        Button buttonSingleText = new Button(parent, SWT.PUSH);
        buttonSingleText.setText("Focus on SingleText");
        GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.CENTER).applyTo(buttonSingleText);
    
        Button buttonMultiText = new Button(parent, SWT.PUSH);
        buttonMultiText.setText("Focus on MultiText");
        GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.CENTER).applyTo(buttonMultiText);
    
        Button buttonNoFocus = new Button(parent, SWT.PUSH);
        buttonNoFocus.setText("Loose Focus");
        GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.CENTER).applyTo(buttonNoFocus);
    
        final Text singleText = new Text(parent, SWT.SINGLE);
        GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.CENTER).applyTo(singleText);
    
        final Text multiText = new Text(parent, SWT.MULTI);
        GridDataFactory.fillDefaults().grab(true, false).align(SWT.FILL, SWT.CENTER).applyTo(multiText);
    
        buttonSingleText.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
                singleText.setFocus();
            }
        });
        buttonMultiText.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
                multiText.setFocus();
            }
        });
        buttonNoFocus.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
                parent.setFocus();
            }
        });
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using django comments framework http://docs.djangoproject.com/en/dev/ref/contrib/comments/ Not sure is there option, to make all comments
Is there any option to clear the console screen in Java as clrscr() in
When I use the option : Organize Usings -> Remove and sort from Visual
I'm currently using this successfully to remove an option $(select#select_gender option[value='initial']).remove(); Is there a
I have listview control.There is an option to remove selected items.After the user removes
Is there any option to call msi file from CreateProcess in c language in
I have a drop down list and would like to remove an option from
HTML Compressor leaves spaces in-between my tags. Is this necessary? Is there an option
I have a listbox that users can add/remove from. To add, there's a text
When using the 'Remove not accessed field' quick fix option from the ReSharper context

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.