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: Copy
    ControlsWidget1.SetPanelVisibility(False)
    ControlsWidget1.SetExpPanelVisibility(False)
 
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
Post a small example project that show the problem so we can check it.
 
Upvote 0
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
Try putting it into B4XPage_Appear.
 
Upvote 0
Tks, Erel, Sagenut, Teddybear.
Yes, in B4XPage_Appear, the procedures are executed as expected.
 
Last edited:
Upvote 0
Back
Top