iOS Question Add module

fishwolf

Well-Known Member
Licensed User
Longtime User
I have try to create a new module and the app start with a blank page.

why?
 

Attachments

  • MoreModules.zip
    11.1 KB · Views: 284

fishwolf

Well-Known Member
Licensed User
Longtime 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:
Upvote 0

klaus

Expert
Licensed User
Longtime 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:
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime 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

  • MoreModules.zip
    5.7 KB · Views: 262
Last edited:
Upvote 0
Top