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>viewstabilize() event function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  VIEWSTABILIZE()                                             Event Function
 Purpose..: Stabilize the view window display
-------------------------------------------------------------------------------
 Syntax...: viewStabilize( <aLook> ) --> NIL

 Arguments: <aLook>   = array returned by viewNew() which
                        contains all the elements to create and
                        display text in a view window.

 Returns..: NIL

 Remark...: The function will refresh the view display as well as
            update the scroll bar ratios. It can be used to display
            the first page of a view before actually updating it.
            This is useful when you want to display a series of view
            windows with the windows filled in before they become
            active.

 Source...: WVIEW.PRG
-------------------------------------------------------------------------------
 Example..: . The example creates a view window and fills it's
              display.

              wNew( "View", 10, 10, 20, 60, "N/BG" )

              aView := viewNew( "View", "READ.ME" )

              wOpen( "View" )
              viewStabilize( aView )

              ...

              while viewUpdate( getEvent(), aView ) ; enddo

See Also: wView() viewUpdate() viewClose() viewNew()

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