I put a simple B4XFloatTextField in a layout and clear the property Visible. When the Layout apears, the B4XFloatTextField is not visible. Then when the user press a button I want that control to apears, I have tried:
txtServerConfig.mBase.Visible =True
txtServerConfig.TextField.Visible = True
Perhaps the problem is cos I defined the variable under?:
Really if the visual designer shows a Visible option, the B4XFloatTextField should have some high level property to make the control visible, without the need to access the lower level controls, call then mBase or TextField, its frustrating to expend 6 hours or days to make a control visible. What I'm missing?
txtServerConfig.mBase.Visible =True
txtServerConfig.TextField.Visible = True
Perhaps the problem is cos I defined the variable under?:
B4X:
Sub Class_Globals
Private txtServerConfig As B4XFloatTextField
End Sub
Really if the visual designer shows a Visible option, the B4XFloatTextField should have some high level property to make the control visible, without the need to access the lower level controls, call then mBase or TextField, its frustrating to expend 6 hours or days to make a control visible. What I'm missing?