advr.hlp (Topic list)
ActiveControl, ActiveForm Properties Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SCREEN.ActiveControl
 SCREEN.ActiveForm
 
 Usage Notes
   ■ Use the ActiveControl and ActiveForm properties to access the form or
     control that has the focus at run time.
 
   ■ ActiveControl and ActiveForm can be used to refer to a control or a
     form together with one of its properties or methods. For example:
 
         SCREEN.ActiveControl.Tag = "OkButton"
 
   ■ If the form has no controls, ActiveForm returns the form with the focus.