Skip to content

Modern Tui TuiSelect IsOpen

Paul Squires edited this page Oct 19, 2026 · 6 revisions

Home › Terminal TUI Library › Input Widgets › TuiSelect.IsOpen

TuiSelect.IsOpen

Returns true if the dropdown's list is showing.

Syntax

TuiSelect.IsOpen( ) as boolean

Description

Whether the dropdown is showing its list. Worth checking before you draw anything over the same space.

Example

#import "std/tui"
using tui

dim as TuiSelectState st
dim as TuiSelect s
s.options.Push( "a" )
s.state = @st
print s.IsOpen( )                 '' false
st.open_ = TRUE
print s.IsOpen( )                 '' true

See also

TuiTextInput TuiTextInput.SelectionStart TuiTextInput.Insert TuiTextAreaStateInit
TuiTextInputState TuiTextInput.SelectionEnd TuiTextArea TuiCheckbox
TuiTextInputStateInit TuiTextInput.DeleteSelection TuiTextAreaState TuiRadioGroup

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Input Widgets
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally