How to Create a List Box That Lists Available FontsID: Q128648 3.00 WINDOWS The information in this article applies to:
SUMMARYTo create a list box that lists available system fonts in Visual FoxPro 3.0, you need to use the AFONT() function. This function places information about available fonts into an array. This array may then be used to populate a list box on a form.
MORE INFORMATION
Step-by-Step ProcedureThe following procedure demonstrates how to create a form that contains a list box that displays the available system fonts: 1. Open or switch to Microsoft Visual FoxPro version 3.0 and choose the New 2. Select the Program radio button. Then choose the New File button. This
3. Enter the following code into the Program Window:
4. Choose the Do Program command from the Program Menu, and save the file
Additional reference words: VFoxWin 3.00 listbox
KBCategory:
KBSubcategory: FxprgGeneral
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |