Progress
Programming
Handbook
Color Dialog Example
The
p-cdial1.p
procedure opens the dialog box that allows you to change its own foreground or background colors:
When you run this procedure on Windows, the following frame appears:
![]()
If you choose or click the OK button, a color dialog box appears (see Figure 23–1) to assign a new system color to the specified color number. Choosing CANCEL terminates the procedure without any further color changes.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |