pub const FD_OK_BUTTON: u16 = 0x0001;Expand description
Insert an “OK” button that closes the dialog with the selected filename.
Pass in the options bitmask to FileDialog::new to add this button.
Both FD_OK_BUTTON and FD_OPEN_BUTTON trigger Command::FILE_OPEN
(the same close command); the label is “OK” vs “Open”. Use at most one of
the two. Common combination: FD_OK_BUTTON | FD_REPLACE_BUTTON for a
save-as dialog that can overwrite.
§Turbo Vision heritage
Ports fdOKButton (tfileinp.h).