Progress
Programming
Handbook
Font Dialog Example
The
p-fdial1.p
procedure opens the dialog box that allows you to separately change the font of either its radio set or buttons to a custom font:
When you run this procedure on Windows, the following dialog box appears.
![]()
When you run the procedure, the radio set displays in the default MS Sans Serif font and buttons display in the default Courier New font. To change a font, choose the Radio Font (font 11) or Button Font (font 12) radio item, then choose or click the OK button to open the font dialog box shown in Figure 23–2. Choosing (or clicking) CANCEL terminates the procedure without any further font changes.
To change the radio-set font selected in Figure 23–2 to bold 8-point Arial, set up the font dialog as shown in Figure 23–3.
Figure 23–3: Changing Font 11 to Bold 8-Point Arial
![]()
After you choose OK, the Choose frame fonts dialog box reappears with the radio set in the new font:
![]()
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |