Program Asas DBMS- Windows & Dos For Foxpro Version
Homepage

Color Function


Warna sering digunakan untuk membentuk imej di Monitor terutama jenis berwarna.Bagi Monitor monochrome(hitam putih) command color tidak akan mendatangkan apa-apa kesan.Arahan yang digunakan adalah "Set Color To" dan juga "Set Color on/off". Sebagai contoh mudah program seperti berikut :-



Style Fonts


     color clause :-

     W - White (putih)                 G - Green (hijau)
     N - Black (hitam)                 B - Blue (biru)
     U - underline (garis bawah)       X - Blank (tiada Warna)
     I - Inverse Video                 + - Bright (jelas)
     R - Red (merah)                   * - Blinking (berkelip)

     Warna latar muka (foreground) dan latar belakang (background)

       {  Kedua latar   }             {  Khusus latar muka }
        

     W - White (putih)                 W+ - Bright white (putih jelas)
     N - Black (hitam)                 N+ - Grey (kelabu)
     R - Red (merah)                   R+ - Pink (merah samar)
     G - Green (hijau)                 G+ - light green (hijau muda)
     B - Blue (biru)                   B+ - light blue  (biru muda) 
     RG atau GR - Brown (coklat)       RB+ atau (GR+) - Yellow (kuning)
     RB atau Br - Magenta              GB+ - light cyan
     GB atau BG - Cyan                 RGB+ - Bright white
     RGB - White (putih)               RB+ atai (BR+) - Bright Magenta


     Contoh :-

     set color to w/b+

        atau

     set color to w,n,r,b






.
Bagi Inverse video dan underlining khusus untuk monochrome.

symbol + dan * pula untuk latar muka atas (foreground) color

Symbol X untuk hitam latar muka atas (foreground) diatas muka latarbelakang hitam (black background) oleh itu bersamaan warna.

Ke Atas

exit