Android Question B4XPages, where are put code

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings happy day, I created a graphic interface and I wish that once created apply these methods ... but they are not executed when the application starts, where are they put so that once the graphic interface is created ...the visible property doesn't work either. Thank you

what I want is that once the application starts they run and the user does not see them at startup

B4X:
    ControlsWidget1.SetPanelVisibility(False)
    ControlsWidget1.SetExpPanelVisibility(False)
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
greetings thank you, yes i put it there but it doesn't work...then i put it in a button and after the graphical interface is visible...click the button and the procedures are executed as expected, yes I have tried several things between those B4XMainPage.B4XPage_Created , tks
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Post a small example project that show the problem so we can check it.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Try putting it into B4XPage_Appear.
 
Upvote 0

PABLO2013

Well-Known Member
Licensed User
Longtime User
Tks, Erel, Sagenut, Teddybear.
Yes, in B4XPage_Appear, the procedures are executed as expected.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…