qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SelLength, SelStart, SelText Properties
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Sets or returns the number of characters selected in a combo or text box
 (SelLength); the starting point of the selected text or insertion point if
 no text is selected (SelStart); or the currently selected text or an empty
 string ("") if no text is selected (SelText).
 
    [form.]{combobox. | textbox.}SelLength[ = length%]
    [form.]{combobox. | textbox.}SelStart[ = point%]
    [form.]{combobox. | textbox.}SelText[ = stringexpression$]
 
    ■ length%, point%    Valid settings are:
 
                         Value               Description
                         ═════════════════   ═══════════════════════════════
                         0 to text length    Valid range for SelLength and
                                             SelStart; should not exceed
                                             number of characters in the
                                             control's edit area
 
    ■ stringexpression$  Any string expression; the selected string in a
                         combo box or text box control
 
 Applies To
    Combo Box Control                Text Box Control
 
 See Also
    Text Property