advr.hlp (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.
Enabled Property Details
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 [form.][ctlname.]Enabled[ = boolean%]
 
 Usage Notes
   ■ This property allows you to enable or disable forms and controls at run
     time. For example, you might disable a control used purely for display
     purposes, such as a text box that provides read-only information.
 
   ■ If Enabled is set to False (0):
     • The control and any of its children are grayed and removed from the
       tab order
     • Child controls cannot receive or respond to events. Note: The only
       controls that can have children are forms, frames, and picture boxes.
     See: ◄Parent and Child Relationships►  ◄Tab Order Definition►
 
   ■ Disabling a timer control by setting Enabled to False (0) suspends the
     countdown set up by the control's Interval property. Enabling the timer
     (setting Enabled to True (-1)) starts the countdown from the value
     of the object's Interval property, not the value at the point at which
     it was suspended. See: ◄Interval Property►  ◄Timer Control►