The information in this article applies to:
SUMMARYThis article demonstrates how to expand a combo box programmatically. This may be useful when a user presses the TAB key to move into the combo box or when a command button Click event procedure gives the focus to the combo box. It is assumed that you have a combo box on a form and are looking for ways to activate it programmatically. MORE INFORMATIONFollowing are two methods for expanding a combo box programmatically: Method One: Using Pixel CoordinatesPlace the following code in the GotFocus method of the combo box:
The combo box expands every time it receives the focus.
Method Two: Using Keyboard BufferPlace the following code in the GotFocus method of the combo box:
The combo box expands every time it receives the focus.
Additional query words: VFoxWin drop down dropdown list
Keywords : kbcode FxprgGeneral |
Last Reviewed: August 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |