Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> capbannernameget() / capbannernameset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CapBannerNameGet() / CapBannerNameSet()
------------------------------------------------------------------------------
 Purpose:
 Get or set the capture banner name.

 Syntax:
 lpszBanNme = CapBannerNameGet()
 lpszBanNme = CapBannerNameSet( lpszNewBannerName )

 Parameters:
 lpszNewBannerName The new banner name.

 Returns:
 A character string of length 12.

 The CA-Clipper names for these functions:
 CapBanNmeGet() / CapBanNmeSet()

 Description:
 CapBannerNameGet() returns the name printed on banners preceding print
 jobs.

 CapBannerNameSet() sets the name to the specified value lpszNewBannerName
 and returns the name that was previously set.

 Returns an empty string if there is no banner text set, or if an error
 occurs.

 Example:
 // To set the banner name to the current user's name:
 lpszUserName = WSLoginNameGet( WSConnNumberGet() )
 lpszOldBannerName = CapBannerNameSet(lpszUserName)
 lpszNewBannerName = CapBannerNameGet()
 if ( !empty( lpszNewBannerName ) )
    ? "Banner name set to", lpszNewBannerName
 endif

 Notes:
 If an empty string is returned, check NWErrorGet().

See Also: CapBannerTextGet() / CapBannerTextSet() CapFormNameGet() / CapFormNameSet() CapStart()

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