Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>w2front() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  W2FRONT()                                                  Window Function
 Purpose..: Promote a background window to the top
-------------------------------------------------------------------------------
 Syntax...: w2Front( <uWin> ) --> lSuccess

 Arguments: <uWin>  = the string identifier of the window to move
                      OR the reference to the window structure
                      returned as an array by wNew() or wArray().
                      If not passed, the function will operate on
                      the window in focus.

 Returns..: lSuccess is true if successful.

 Remark...: The function is essential to an event-driven desktop.
            If an window needs to be on top, this function will do it.

            You need not open the windows to put one on top.

 Source...: W2FRONT.PRG
-------------------------------------------------------------------------------
 Example..: . This example opens 3 windows and then promotes the
              bottom window to the top.

            wOpen( "A" )
            wOpen( "B" )
            wOpen( "C" )

            w2Front( "A" )

See Also: wOpen() wClose()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson