Pop-Up vs Pull-Down vs Combo Box
Pop-Up vs Pull-Down vs Combo Box
Questi sono tre piccoli controlli di scelta. Un pulsante a comparsa mostra un valore attuale. Un pulsante a discesa esegue un comando. Una casella combinata permette anche di digitare un valore.
Un altro esempio
Un dialog di stampa usa un pop-up per la dimensione della carta. Un pull-down seleziona le impostazioni. Una combo box accetta nomi personalizzati riutilizzabili.
Parti principali
- 01Etichetta persistente
- 02Input control
- 03Hint or format
- 04Validation message
Usalo quando
Scegli in base allo scopo. Usa un pop-up per un valore corrente. Usa un menu a discesa per un comando. Usa una casella combinata per un valore elencato o digitato.
Non usarlo quando
Non scegliere solo per apparenza o mescolare comandi con valori salvati. Se solo le opzioni selezionate sono sicure, non permettere testo libero.
Nome usato nel codice
NSPopUpButton / NSComboBox / SwiftUI Picker and Menu Prima di spedire
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome: Complete the task with Pop-Up vs Pull-Down vs Combo Box (Pop-Up vs Pull-Down vs Combo Box). User context: Un dialog di stampa usa un pop-up per la dimensione della carta. Un pull-down seleziona le impostazioni. Una combo box accetta nomi personalizzati riutilizzabili. macOS concept or control: Pop-Up vs Pull-Down vs Combo Box (Pop-Up vs Pull-Down vs Combo Box). Why it fits: Scegli in base allo scopo. Usa un pop-up per un valore corrente. Usa un menu a discesa per un comando. Usa una casella combinata per un valore elencato o digitato. Do not use it when: Non scegliere solo per apparenza o mescolare comandi con valori salvati. Se solo le opzioni selezionate sono sicure, non permettere testo libero. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): È ufficiale per quella fonte. Altre piattaforme o team potrebbero usare il termine in modo diverso. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
Controlla questa richiesta
Review how Pop-Up vs Pull-Down vs Combo Box (Pop-Up vs Pull-Down vs Combo Box) is used now. Definition: Questi sono tre piccoli controlli di scelta. Un pulsante a comparsa mostra un valore attuale. Un pulsante a discesa esegue un comando. Una casella combinata permette anche di digitare un valore. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.