Home Index classes Index static functions Index enumerations Index structure types

{Dialog_file}


CLASS {Dialog_file} , UNTESTED :



A file selection dialog.


IMPORT : {Form} , {Control} , {AL4_file_dialog} , {Geometry} .


BASE CLASS {Control} .



------------------------------------------------------------------ 'create'

  

FUN New_dialog_open|_file (
     
{Form} F|orm_owner ,
     
STR A|lias_dialog ) ==> {Dialog_file} , NEW



FUN New_dialog_save|_file (
     
{Form} F|orm_owner ,
     
STR A|lias_dialog ) ==> {Dialog_file} , NEW



-------------------------------------------------------------- 'properties'

BOOL Save_dialog , INIT , READ


STR Title|_dialog


STR Initial_path


STR Default_ext|ension


STR Filter|_vertical_line_separated


STR Filename|_selected||File_path



----------------------------------------------------- 'show to select file'

  

METHOD Select_file|_to_load_or_save ==> BOOL



OVERRIDE Bounds ==> {Geometry}.{rect} , REPLACE


END