iOS Question B4XFloatTextField - No event for BeginEdit

Jack Cole

Well-Known Member
Licensed User
Longtime User
The regular TextField has an event for BeginEdit. I'm not really able to use the B4XFloatTextField because I can't catch this event to be able to scroll the screen to keep the control visible. Is there a way to do this?
 

Jack Cole

Well-Known Member
Licensed User
Longtime User
That does help some. I still won't know which view needs to be focused, which is a problem when there are several views in a form (scrollview). I think in the meantime, I'll probably just have to use the platform specific views (unless there are few enough views to be focused in the available screen space).
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
To add a event is very simple. b4xlibs are located in subdirectory C:\Program Files (x86)\Anywhere Software\B4I\Libraries.
Rename XUI Views.b4xlib and try attached. I added one statement only CallSubDelayed(mCallBack, mEventName & "_BeginEdit") in tf_BeginEdit subroutine
 

Attachments

  • XUI Views.b4xlib
    70.7 KB · Views: 141
Upvote 0
Top