User Defined Windows (Scheme 1) Color Pair Windows Element 1 Window text/Window background 2 Window text/Application Workspace 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background User Defined Menus (Scheme 2) Color Pair Windows Element 1 Menu text/Menu bar 2 Window text/Menu bar 3 Window Frame/Menu bar 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Menu text/Menu bar 10 Disabled text/Menu bar Menu Bar (Scheme 3) Color Pair Windows Element 1 Menu text/Menu bar 2 Window text/Menu bar 3 Window Frame/Menu bar 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Menu text/Menu bar 10 Disabled text/Menu bar Menu Popups (Scheme 4) Color Pair Windows Element 1 Menu text/Menu bar 2 Window text/Menu bar 3 Window Frame/Menu bar 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Menu text/Menu bar 10 Disabled text/Menu bar Dialogs (Scheme 5) Color Pair Windows Element 1 Window text/Window background 2 Window text/Window background 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background Dialog Popups (Scheme 6) Color Pair Windows Element 1 Window text/Window background 2 Window text/Window background 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background Alert (Scheme 7) Color Pair Windows Element 1 Window text/Window background 2 Window text/Application Workspace 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background Window (Scheme 8) Color Pair Windows Element 1 Window text/Window background 2 Window text/Application Workspace 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background Window Popups (Scheme 9) Color Pair Windows Element 1 Menu text/Menu bar 2 Window text/Menu bar 3 Window Frame/Menu bar 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Menu text/Menu bar 10 Disabled text/Menu bar Browse (Scheme 10) Color Pair Windows Element 1 Window text/Window background 2 Window text/Application Workspace 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background Report (Scheme 11) Color Pair Windows Element 1 Window text/Window background 2 Window text/Window background 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background Alert Popups (Scheme 12) Color Pair Windows Element 1 Window text/Window background 2 Window text/Window background 3 Window Frame/Window Background 4 Active title bar text/Active title bar 5 Inactive title bar text/Inactive title bar 5 For Windows 3.0: Active title bar text/Inactive title bar 6 Highlighted text/Highlight 7 Highlighted text/Highlight 8 No mapping 9 Window text/Window background 10 Disabled text/Window background>I have a ListBox whose recordsource is a POPUP where each bar is define using the COLOR option so that the various items in the list are color coded. Each bar is define with code basically like the following...
>lcForeColor = SomeFunction("Foreground") >lcBackColor = SomeFunction("Background") > >lcColor = "RGB(" + m.lcForeColor + "," + m.lcBackColor + ")" ; > + ",,,," ; > + "RGB(" + m.lcBackColor + "," + m.lcForeColor + ")" >DEFINE BAR m.i OF UnScheduledPop ; > PROMPT THISFORM.zaUnscheduled[m.i,1] ; > COLOR, &lcColor. >>