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 - connect control to dialog box http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Connect control to dialog box
--------------------------------------------------------------------------------
   Syntax: TDialog():DefControl( <oControl> ) --> Nil


   Parameters:

   <oControl>  The control that has to be connected to the current
               dialog box.

   Returns:
   Nil

   Comments:
   This method is used when a control is added to a dialog box that gets
   it's structural information from a resource (either linked to the .EXE
   by RC.EX or stored in a .DLL file).  Before the control is added a check
   is made to see whether or not the ::nID instance variable of <oControl>
   is unique for this dialog box.  If the value of <oControl>:nID is
   already in use a warning will be shown and the control will NOT be added
   to the ::aControls instance variable.



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