Create an ANSI Font Option Menu
Create An Option Button
Drag an option button from the Tools palette onto a stack.
Write the Script
Open the script editor of the option menu and enter the script below. This option menu will respond to the "BuildANSIFontList" messgae and populate the option menu with ANSI fonts.
The script begins by getting all available fonts on the system (1) and sorting them (2). The script then checks the fontlanugage of each font and filters out any fonts that are not ANSI fonts (3) before assigning the font list to the option menu.
Build Font List
Build the font list by sending "BuildANSIFontList" to the button using the Message Box.
Preview The List
Click on the option menu to view the list of fonts.
Comments (0)
Add your comment