Open and Close a Listbox

I’d like to show a hidden container triggered via a MouseDown event on a button, with pre-filled information for read-only by the users. When the user exits, the control will disappear. Which container is best: listbox, textfield, message box? Sample Code will be very useful. Thanks in advancee.

macOS Monterey, V 12.4, MacBook Pro
Xojo 2022 Release 2]

Container control with whatever control your comfortable with using inside it.

Search for the visible property…

1 Like

Or place them on a Rectangle then set:
myRectangle.Visible = False

1 Like

Or you can use (Desktop)GroupBox

1 Like

Daniel Mullins:

Yes, always a good advice. The best tool is the one one knows best how to use.