fgl_window_close()

fgl_window_close() closes a window.  It takes as its argument the string which is the name of the window to be closed:

MAIN

  OPEN WINDOW win1 AT 3,3 WITH 20 ROWS, 70 COLUMNS ATTRIBUTES(BORDER)

  CALL fgl_winmessage("fgl_window_close()", "WIN1: This window was opened as 'win1'", "info")

  CALL fgl_winmessage("fgl_window_close()", "Now, we close the window 'win1' using fgl_window_close(\"win1\")", "info")

  CALL fgl_window_close("win1")

  CALL fgl_winmessage("fgl_window_close()", "WIN1: Window 'Win1' is now closed - Press OK to close application", "info")

END MAIN

 

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.