Terradrones Active Member Licensed User Dec 19, 2022 #1 Hi All I need help again please...or maybe a kick under my butt in the right direction. I have a Combobox and a Edittext box in the same place. When the Activity loads, the program checks if there is any info stored in the SQLite DB and displays it in the Combobox. Then I have a Checkbox (for new entries) that if it is selected, the Combobox becomes invisible and the Edittext box becomes visible, so that new data can be entered. But it is not working...it hides the Combobox, but I cannot see the Edittext box. I can click on the Edittext box and type in data, but I cannot see it. It saves the data entered in the Editbox. B4X: Copy [ Sub NewStake_Click If NewStake.Checked=True Then 'Enter a new Stake SelectStake.cmbBox.Visible=False Stake.Visible=True Else SelectStake.cmbBox.Visible=True Stake.Visible=False End If End Sub ]
Hi All I need help again please...or maybe a kick under my butt in the right direction. I have a Combobox and a Edittext box in the same place. When the Activity loads, the program checks if there is any info stored in the SQLite DB and displays it in the Combobox. Then I have a Checkbox (for new entries) that if it is selected, the Combobox becomes invisible and the Edittext box becomes visible, so that new data can be entered. But it is not working...it hides the Combobox, but I cannot see the Edittext box. I can click on the Edittext box and type in data, but I cannot see it. It saves the data entered in the Editbox. B4X: Copy [ Sub NewStake_Click If NewStake.Checked=True Then 'Enter a new Stake SelectStake.cmbBox.Visible=False Stake.Visible=True Else SelectStake.cmbBox.Visible=True Stake.Visible=False End If End Sub ]
B Brian Dean Well-Known Member Licensed User Longtime User Dec 19, 2022 #2 I have not tested this but the first thing that I would try is : B4X: Copy view.Visible = True view.BringToFront Upvote 0
I have not tested this but the first thing that I would try is : B4X: Copy view.Visible = True view.BringToFront
Jeffrey Cameron Well-Known Member Licensed User Longtime User Dec 19, 2022 #3 I would also double-check that the parent of the edittext is the same parent as the spinner. Upvote 0