I need to hide and show a B4XComboBox under program control. I tried setting xxxx.cmdBox.Visible to false but it only hides the Text not the Background I defined in Visual Designer.
If I go into Visual Designer and uncheck "Visible" then nothing displays (which is what I want) but then setting xxx.cmdBox.Visible to true no text gets displayed. It appears the Background must first be enabled in Visual Designer or text can't be displayed.
So Visual Designer has full control over visibility of both text and background but under program control I can only hide and show Text but only if the defined background is visible.
I don't seem to have program control over the background which to me is part of the element that includes the text.
Seems like a bug but perhaps I am missing something.
If I go into Visual Designer and uncheck "Visible" then nothing displays (which is what I want) but then setting xxx.cmdBox.Visible to true no text gets displayed. It appears the Background must first be enabled in Visual Designer or text can't be displayed.
So Visual Designer has full control over visibility of both text and background but under program control I can only hide and show Text but only if the defined background is visible.
I don't seem to have program control over the background which to me is part of the element that includes the text.
Seems like a bug but perhaps I am missing something.