I have the following dialog that is a rollup-roll-down modeless xdialog to collect NOTES called from a primary modeless xdialog, REVIEW, that presents users with image files and has functionality to rename the image files. Notes are entered into the NOTES roll-up-roll-down dialog asynchronously during the review of many images in the priimary REVIEW dialog. At the completion of the review, the user presses a button on the REVIEW dialog which calls a script that completes the review process. What I need is for the script that completes the review process to roll-down the NOTES dialog at a particular moment in the script sequence. How do I roll down the Notes dialog when rolled up from the script that completes the review process?
Code:
'DAILOG VALUES AND VARIABLES DIM dlg_nbody as C DIM dlg_ncode as C DIM dlg_ntitle as C="INSTALLATION NOTES" DIM rup_body as C DIM rup_code as C DIM ruptitle as c DIM vFilter as C 'DLG BODY MAIN dlg_nbody = <<%dlg% {background=#215+223+253}{position=remember=XD_cp_fit_Down}{xmargin=1,1}{ymargin=1,0} {comment=TOP BUTTONS} {region} {justify=right}<%T=Roll up;B=T;I=$$generic.exit%4,1!exit> <%T=Roll up;B=T;I=$$generic.roll.up%4,1!B_rollup> {text=2} {endregion};{lf=.5}; {comment=REMAINDER OF DIALOG} {region} {font=arial,9,b}[%mw%.90,18vcs_inotes] {lf}; {endregion}; %dlg% dlg_ncode = <<%code% 'CLOSE IF a_dlg_button = "EXIT" ui_modeless_dlg_close(dlg_ntitle) END IF 'NOTES ROLLUP IF a_dlg_button = "B_Rollup" ui_modeless_dlg_box(dlg_ntitle,rup_body,rup_code) END IF %code% 'ROLL UP BODY rup_body = <<%dlg% {removecomments}{background=#215+223+253}{can_exit=close} {position=remember=XD_cp_fit_Up} {title=Notes}{xmargin=3,3}{xmargin=2,2}{font=Arial,8}{justify=center} <%T=Roll Down;B=T;I=$$generic.roll.down%4,1!Rolldown> ; %dlg% 'ROLLUP CODE rup_code = <<%code% IF a_dlg_button = "Rolldown" ui_modeless_dlg_box(dlg_ntitle,dlg_nbody,dlg_ncode) END IF %code% 'GENERATE THE DIALOG ui_modeless_dlg_box(dlg_ntitle,dlg_nbody,dlg_ncode)
Comment