Function Entry: DOSPOPUPMENU
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: DOSPOPUPMENU
Name
`dospopupmenu`
Class
BricsCAD DOSLib Function
Syntax
(dos_popupmenu menuitems [itemmodes])
Arguments and Values
Arguments are described in the vendor page; see Source Notes.
Description
Shows a popup menu at actual cursor (mouse) position on screen. The user can dismiss the menu by ESCAPE key or clicking anywhere outside the menu. menuitems : list of strings, specifying the menu item labels; an empty string "" creates a separator item itemmodes : optional argument; list of integers specifying the item state for each menu item 0 enabled 1 disabled 2 checked, enabled 3 checked, disabled each menu item defaults to state 0 (enabled, not checked) Return : the index of selected item, or NIL on error or escaped menu; Note : separator items do not count for the item indices ! Examples : (setq items '("Select" "" "First Entity" "Second Entity")) (setq modes '(0 0 3 0)) (dospopupmenu items modes)
Return Values
Vendor-defined; see Source Notes.
Availability
- AutoCAD 2026: not documented.
- BricsCAD V26: documented.
- Status: BricsCAD-only.
Source Notes
- [dospopupmenu (BricsCAD V26 DevRef)](https://developer.bricsys.com/bricscad/help/en_US/V26/DevRef/source/dos_popupmenu.htm)
- Status: documented (Phase 3 follow-up: body filled from the BricsCAD V26 per-symbol page on 2026-04-26).