Home Index classes Index static functions Index enumerations Index structure types

{Dialog|_modal_form}


CLASS {Dialog|_modal_form} , UNTESTED, DESTRUCTORS :


The {Dialog} class is descending from the {Form} class to show a form modal.


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

BASE CLASS {Form} .



-------------------------------------------------------------- 'modal show'

BOOL Center|_on_parent


 

METHOD Parent_form|_but_not_dialog ==> {Form}



OVERRIDE Show_modal ( {Form} Parent|_form_or_dialog ) ==> STR


Use this method call to show the {Dialog} form modal and await an answer. On return, the resulting answer text is stored also in the field Answer. This is the text which were passed in the {Dialog} implementation form in a call to the method ready. E.g., you can pass "OK" as a positiove answer or "" (empty string) otherwise.


-------------------------------------------------------------- 'set result'

  

OVERRIDE Hide



OVERRIDE Close


END