Guide API
Skip to main content

FD_OPEN_BUTTON

Constant FD_OPEN_BUTTON 

Source
pub const FD_OPEN_BUTTON: u16 = 0x0002;
Expand description

Insert an “Open” button that closes the dialog with the selected filename.

Like FD_OK_BUTTON but labels the button “Open”. Use for a classic file-open dialog (e.g. FD_OPEN_BUTTON | FD_NO_LOAD_DIR); use FD_OK_BUTTON when the OK label fits better (e.g. a save-as dialog). Use at most one of the two.

§Turbo Vision heritage

Ports fdOpenButton (tfileinp.h).