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.
DblClick Event Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 SUB Form_DblClick ()
 SUB ctlname_DblClick ([Index AS INTEGER])
 
 Usage Notes
   ■ For a form, the DblClick event occurs when the user double-clicks a
     disabled control or a blank area of a form using the left mouse button.
 
   ■ For a control, the DblClick event occurs when the user:
     • Double-clicks a control with the left mouse button
     • Double-clicks an item in a simple combo box (Style = 1), file list
       box, or list box
     • Changes the Path property for a directory list box in code
     • Sets a file list box's FileName property in code to a valid existing
       file name (that is, a file name with no wildcard characters)
 
   ■ To distinguish between left and right mouse buttons, use the MouseDown
     and MouseUp events. See: MouseDown Event  MouseUp Event
 
   ■ You can use a DblClick event procedure to carry out multiple steps with
     a single action, such as double-clicking to select an item in a list box
     and at the same time to close the dialog box.
 
   ■ A DblClick event always recognizes this event ordering: MouseDown,
     MouseUp, Click, and DblClick.
 
   ■ If the DblClick event does not occur within the system's double-click
     time limit, the object recognizes another Click event. The double-click
     time limit can be adjusted with the user's mouse settings.
     See: Click Event