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]
 WMLEdit                Multi-line edit control class
 ----------------------------------------------------------------------------
 WMLEdit
 Multi-line edit control class
 ----------------------------------------------------------------------------
 
 Properties
 LastRec        The number of lines of text in the control
 RecCount       The number of lines of text in the control
 RecNo          The number of the current line
 WndStyle       The control's usual style (a combination of WS_* values)
 
 Methods
 WMLEdit:GoBottom()    Position at the last line of text
 WMLEdit:GoTo()        Position at the specified line
 WMLEdit:GoTop()       Position at the first line of text
 WMLEdit:Skip()        Change the current position
 
 Inherits From
 WEdit
 
 Inherited By
 Nothing.
 
 Description
 This is the class for multi-line edit controls.
 
 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\VBXGEN.PRG:
 CLASS VBXDialog INHERIT WDialog
      // . . .
      PROTECT   /* . . . */ oSource, oCHSrc
      // . . .
 ENDCLASS
 
 METHOD OnInitDialog() CLASS VBXDialog
 // . . .
 @ Id IDD_SOURCE   Obj ::oSource   MultiLine Edit
 @ Id IDD_CHSRC    Obj ::oCHSrc    MultiLine Edit
 
 SendMessage(::oSource:hWnd, WM_SETFONT, ::hFont, 0)
 SendMessage(::oCHSrc:hWnd,  WM_SETFONT, ::hFont, 0)
 // . . .
 
 METHOD Generate() CLASS VBXDialog
 // . . .
 ::oSource:Text = cSource
 ::oCHSrc:Text  = cCHSrc
 SetFocus(GetDlgItem(::hWnd, IDD_SOURCE))
 EditSetSel(::oSource:hWnd, 0, 0)
 // . . .
 
 See Also  (press Enter)

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