Announcement

Collapse
No announcement yet.

Force Focus don't Work...need last step help. Console Commant: Android.NewKeyboard

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Force Focus don't Work...need last step help. Console Commant: Android.NewKeyboard

    Hello Everyone,

    When i force the Focus in the Widget, than i the project it works, but not in the Device.
    What is the Problem?

    Click image for larger version  Name:	1.PNG Views:	1 Size:	27.0 KB ID:	1548178
    Last edited by MilliElektra; 11-07-2018, 10:31 AM.

    #2
    Comment: The Lock Mouse Mode didn't changed anything

    Comment


      #3
      Is InputText the name of the widget itself, or the name of the actual text field?

      If it's the widget, try plugging the actual text field into the "In Widget to Focus" pin and see if that works (i.e. drag off the InputText node and get the text field, that plug that into the pin).

      Comment


        #4
        InputText is the editable text. And this don|t works...but only an the device. in the project it works
        Thank you for trying to help
        Last edited by MilliElektra; 11-06-2018, 02:54 PM.

        Comment


          #5
          The behavior of the inut is also different...i need to find out why this is.
          has this something to do with the time?Need i put a delay somewhere?

          Comment


            #6
            maybe the way is to set the focus, when it gets lost...?

            Comment


              #7
              No...i just tryed this...i can|t force it on the device...only in the project again it works, and there now its impossible the get out of the editablke text...
              oh men.....
              why????
              do i have to change something in the project settings?
              Has this something to do with the actor?
              Touch settings?
              Last edited by MilliElektra; 11-06-2018, 03:49 PM.

              Comment


                #8
                i found something interesting here >
                VirtualKeyboardTrigger in SEditableText is never set, so it defaults to OnFocusByPointer. In FSlateEditableTextLayout::HandleFocusReceived VirtualKeyboardTrigger is checked together with the input method. I did the lazy solution and just added .VirtualKeyboardTrigger( EVirtualKeyboardTrigger::OnAllFocusEvents) in UEditableText::RebuildWidget(). Now the virtualkeyboards opens when the textbos receives focus. The better solution would be to expose VirtualKeyboardTrigger to blueprint (like VirtualKeyboardType).

                https://answers.unrealengine.com/que...d-to-open.html

                i don|t understand how to do it with the blueprints
                Last edited by MilliElektra; 11-06-2018, 03:55 PM.

                Comment


                  #9
                  i have this option in the editable Text

                  Click image for larger version

Name:	1.PNG
Views:	1
Size:	7.8 KB
ID:	1548358

                  But i can|t reach it. i onlz get it when i uncheck button when i trz to reach it out of the pin.
                  Than it shows...the target is text box....

                  Comment


                    #10
                    Look here: https://api.unrealengine.com/INT/API...ext/index.html

                    There the Is the Funktion: SetIsCaretMovedWhenGainFocus

                    But how can i reach it?

                    Comment


                      #11
                      Hm...i think only because of this problem i can't use the android virtual keyboard...!
                      I have do do my own virtual keyboard...oh men....

                      Comment


                        #12
                        Maybe i found the solution now.
                        Look here:
                        https://docs.unrealengine.com/en-us/...irtualKeyboard

                        But now...can someone explain how to do this: ?
                        Click image for larger version

Name:	1.PNG
Views:	1
Size:	18.5 KB
ID:	1548770

                        I do this:

                        Click image for larger version

Name:	1.PNG
Views:	1
Size:	17.4 KB
ID:	1548771

                        how do i make the Input 2 ?

                        Comment


                          #13
                          When i do this:

                          Click image for larger version  Name:	2.PNG Views:	1 Size:	16.6 KB ID:	1548776

                          its like before...i have to tab first, than the keyboard apears.

                          When i do this:

                          Click image for larger version  Name:	1.PNG Views:	1 Size:	16.8 KB ID:	1548777

                          It behaves like thisis unable: (In Project Settings)

                          Click image for larger version  Name:	1.PNG Views:	1 Size:	4.2 KB ID:	1548778

                          Comment

                          Working...
                          X