aeric Expert Licensed User Longtime User Nov 11, 2024 #2 You should initialize the view on the B4XPage that you load the layout. Upvote 0
J jkhazraji Active Member Licensed User Longtime User Nov 11, 2024 #3 If it is a one-page app then as you select EditText in the Designer and generate it as a member of the app, it is initialized spontaneously. Otherwise, you can create it programmatically as follows: B4X: Copy Private EditText1 as EditText EditText1.Initialize("ed") 'Ed is the event name In this case you have to initialize it manually as any other control. then you can use 'ed' for different edittext methods as ed_TextChanged Upvote 0
If it is a one-page app then as you select EditText in the Designer and generate it as a member of the app, it is initialized spontaneously. Otherwise, you can create it programmatically as follows: B4X: Copy Private EditText1 as EditText EditText1.Initialize("ed") 'Ed is the event name In this case you have to initialize it manually as any other control. then you can use 'ed' for different edittext methods as ed_TextChanged