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.
LostFocus Event Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SUB Form_LostFocus ()
 SUB ctlname_LostFocus ([Index AS INTEGER])
 
 Usage Notes
   ■ Use a LostFocus event procedure to verify and validate updates.
     LostFocus allows validation to take place as the user leaves the
     control.
 
   ■ You can use LostFocus for enabling, disabling, hiding, and displaying
     other objects, as you can with a GotFocus event. Or, you can reverse or
     change conditions you set up in the object's GotFocus event procedure.
     See: GotFocus Event
 
   ■ To enhance an application visually, set the color of a control when it
     gains or loses the focus. See: Focus Definition