28 th Jun 2022 22:02:19
Hai Friend , Sign In
Chennai City
G. K.
Tamil Nadu Government Holiday List 2018 in English and Tamil   *   Trichy: Wanted - PHP, MySql Programmers. Contact trichy people only 84894 28 444.   *   Indian Railways New Train Number List [Search / Enquiry / Locator / Finder]   *   பன்றிக் காய்ச்சல் பற்றி அறிந்து கொள்ளுங்கள் (Swine Flu H1N1)
See Also
RGB Function RGB Function
Visual Basic Functions Visual Basic Functions
Visual Basic Home Visual Basic Home
Description  Syntax  Return Datatype  Example  Migration

QBColor Function - Visual Basic 6.0 (VB 6.0)

The required color argument is a whole number in the range 0–15.
Parameter Description
color Required. Integer. Number in the range 0 – 255, inclusive, that represents the red component of the color.

QBColor Function's color argument:
Number Value Color
0 0 Black color
1 8388608 Blue color
2 32768 Green color
3 8421376 Cyan Color
4 128 Red Color
5 8388736 Magenta Color (Pink Color)
6 32896 Yellow Color
7 12632256 White Color
8 8421504 Gray Color
9 16711680 Light Blue Color
10 65280 Light Green Color
11 16776960 Light Cyan Color
12 255 Light Red Color
13 16711935 Light Magenta Color
14 65535 Light Yellow Color
15 16777215 Bright White Color

Return Data type:
Statement Result Remark
QBColor(15) 16777215 Bright White Color
QBColor(0) 0 Black Color
QBColor(-1) Error Invalid procedure call or argument
QBColor(null) Error Invalid use of null
QBColor(16) Error Invalid procedure call or argument
Go to top

Migration from Visual Basic 6.0 (VB 6.0) to
  QBColor Function in VB Script (VBS)
  QBColor Function in JScript (JS)
  QBColor Function in ASP (Active Server Page)
  QBColor Function in PHP Script
  QBColor Function in MS-Access
  QBColor Function in MS SQL Server
  QBColor Function in Oracle
  QBColor Function in C Language
  QBColor Function in C++ Language
  QBColor Function in Foxpro
  QBColor Function in Fortran
  QBColor Function in MS Excel Sheet
Go to top

© 2021 Chennaiiq.com. All Rights Reserved.