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.
Value Property
  Summary             Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Sets or returns the current state of a control (check box, option button),
 whether the control is pressed (command button), or the current position
 of a control (scroll bar); not available at design time with command
 buttons.
 
    [form.][ctlname.]Value[ = setting%]
 
    ■ setting%         Valid settings are:
 
      Control          Value               Description
      ══════════════   ═════════════════   ═════════════════════════════════
      Check box        0                   (Default) Unchecked (off or False)
                       1                   Checked (on or True)
                       2                   Grayed (not available)
      Command button   False (0)           (Default) Button is not pressed
                       True (-1)           Button is pressed; setting from
                                           code invokes the button's Click
                                           event; not available at design
                                           time
      Option button    False (0)           (Default) Button is not selected
                       True (-1)           Button is selected
      Scroll bar       Min to Max          (Default) Min
                       -32,768 to 32,767
                       (inclusive)
 
 Applies To
    Check Box Control                Command Button Control
    Horizontal Scroll Bar Control    Option Button Control
    Vertical Scroll Bar Control
 
 See Also
    Max Property                     Min Property