Android Question Not able to fully hide a B4XComboBox

Turbo3

Active Member
Licensed User
Longtime User
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.
 

mangojack

Expert
Licensed User
Longtime User
B4X:
B4XComboBox1.mBase.Visible = False

this sets the visability of the b4xCombobox base panel
 
Upvote 0
Top