iOS Question Add module

fishwolf

Well-Known Member
Licensed User
"Main" is a module (files) and a page, the same name

i have change name to page and work fine.

maybe it's a bug
 
Last edited:

klaus

Expert
Licensed User
No it's not a bug !
As Erel already told you !
Don't confuse Modules and pages.
In the Main module you can handle several pages !
Look at chapter 12 User Interfaces in the B4i Beginner's Guide.
 
Last edited:

fishwolf

Well-Known Member
Licensed User
Ok, i have resolved changed the name to page

Other question:
now i have 2 modules (files), i must capture the events of page2 text on page2 module,
work only if i write into main module.

Maybe i must change the parent, how to ?

B4X:
work fine
Main
Sub TextEmail_EnterPressed

   Msgbox ("Main TextEmail EnterPressed", "Debug")
  
End Sub

doesn't work
Page2
Sub TextEmail_EnterPressed

   Msgbox ("Page2 TextEmail EnterPressed", "Debug")
  
End Sub
 

Attachments

Last edited:
Top