Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>method setfont class twindow</b> returns the current device context http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
METHOD SetFont CLASS TWindow      Returns the current device context
                                     if any or request a new one.

--------------------------------------------------------------------------------
   TWindow:SetFont( <oFont> )  -->

Parameters:

<oFont>   The new font object that should be associated with this
          window. The <oFont> parameter should be a valid TFont()
          object.

Purpose:
The purpose of this method is to associate a default font with a window
so that it can be used when a control is displayed on the window. It
can be used either before or after the Activate() method of the window
is called. When SetFont() is called it will first call the End() method
of the previous default font (if available) and then it replaces the
default font(stored in the ::oFont instance variable) with <oFont>.


Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson