Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
 WGet                   Windowed GET control class
 ----------------------------------------------------------------------------
 WGet
 Windowed GET control class
 ----------------------------------------------------------------------------
 
 Properties
 Valid          A logical indicating whether the control is valid
 
 Methods
 WGet:Cancel()       Undo changes made
 WGet:Init()         Construct a WGet object
 WGet:UpdateBuffer() Re-load the edit control from the GET buffer
 WGet:Warning()      Sound a warning beep
 
 Inherits From
 WEdit
 
 Inherited By
 Nothing.
 
 Description
 This is the class for edit controls with behaviour rather like
 GET objects.  The current implementation uses a GET object
 internally.
 
 Because Clip-4-Win uses "smart dialogs with dumb controls",
 few properties and few methods are required in this class or
 most sub-classes.  (The WDialog class provides the logic,
 rather than spreading it across the controls.)
 
 Example
 // From SOURCE\OO\DBFGEN.PRG:
 CLASS DBFDialog INHERIT WDialog
      // . . .
      EXPORT cType, cLen, cDec AS STRING
 
      // some Edit controls
      PROTECT   oDBFName, oFldName, oLen, oDec AS OBJECT
      // . . .
 ENDCLASS
 
 METHOD OnInitDialog() CLASS DBFDialog
 // . . .
 ::cLen    = "20"
 ::cDec    = "0"
 @ Id IDD_LEN  Obj ::oLen  Get ::cLen  Picture "999"  Valid val(::cLen) != 0
 @ Id IDD_DEC  Obj ::oDec  Get ::cDec  Picture "9"
 // . . .
 
 See Also  (press Enter)

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