Microsoft KB Archive/95674

{|
 * width="100%"|

-

The information in this article applies to:


 * Microsoft FoxPro for Windows, version 2.5
 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5

-

SUMMARY
The _DBLCLICK variable can be used to increase the efficiency of searching through a sorted list box. For example, to search a list box for all entries beginning with the characters &quot;SC&quot;, the setting of the _DBLCLICK variable determines if the second keystroke, &quot;C&quot;, will bring the insertion point to entries beginning with &quot;C&quot; or &quot;SC&quot;.

MORE INFORMATION
The _DBLCLICK variable is commonly used to check the intervals between mouse double-clicks and triple-clicks. It can also be used to check the intervals between keystrokes. _DBLCLICK can range from 0.5 to 5.5 (seconds). The default value is 0.5.

The following steps illustrate the keyboard use of _DBLCLICK:

  Make sure the FoxPro Help system is set to FOXHELP.DBF by issuing the following command in the Command window:       SET HELP TO FOXHELP.DBF   Make sure _DBLCLICK is set to the default value by issuing the following in the Command window:       _DBLCLICK = 0.5  In the Command window, type &quot;HELP&quot; (without the quotation marks) and press the ENTER key. Press S. (SAVE MACROS will be the highlighted entry.) Press C. (CALCULATE will be the highlighted entry.)  In the Command window, issue the following command:       _DBLCLICK = 2.5  Return to the HELP window and repeat steps 3 and 4. (SCAN will be the highlighted entry.)</li> Press H. (SCHEME will be the highlighted entry.)</li></ol>

NOTE: In an @ ... GET list, if _DBLCLICK is set to a high value in the WHEN clause and set back to the default in the VALID clause, it will not affect the double-click setting of the mouse in other fields. Additional query words: FoxDos FoxWin keyboard delay one time listbox character incremental search

Keywords         : Version          : Platform         : Issue type       :
 * }