Constants of Property Grid
|
String
Type
|
Constants
|
Value
|
Description / Sample
|
'category'
|
PG_CATEG
|
1
|
Value: Not apply
Data: Not apply
Return Value: Not apply
|
'string'
|
PG_STRING
|
2
|
Value: Character string (max 1024 characters)
Data: Optional: InputMask in form Control TextBox
Return Value: Character string
|
'numeric'
'integer'
|
PG_INTEGER
|
3
|
Value: Integer value or numeric string
Data: Not apply
Return Value: Integer value
|
'double'
|
PG_DOUBLE
|
4
|
Value: Double value or numeric string
Data: Optional: Inputmask of the exemplary form of
'999 999.99'
Return Value: Numeric value
|
'syscolor'
|
PG_SYSCOLOR
|
5
|
Value: Name of SysColor (look in table above)
Data: Not apply
Return Value: Array of color value
|
'color'
|
PG_COLOR
|
6
|
Value: String in form - "(208,205,188)"
Data: List of data - "208;205;188"
Return Value: Array of color value
|
'logic'
|
PG_LOGIC
|
7
|
Value: String "true" or "false"
Data: Not apply
Return Value: Logic Value
|
'date'
|
PG_DATE
|
8
|
Value: String in form date
Data: Not apply
Return Value: Date value
|
'font'
|
PG_FONT
|
9
|
Value: String (for sample) - "Arial, 8, Italic"
Data: List of data - "Arial; 8; false; true; false; false"
Return Value: Array of Font property or value
selected SUBITEM array of Font property
|
'array'
|
PG_ARRAY
|
10
|
Value: Item from list of data
Data: List of data, can to add and to remove with list
of data
Return Value: Array of Items
|
'enum'
|
PG_ENUM
|
11
|
Value: Item from list of data
Data: Constants list of data
Return Value: Character string
|
''flag'
|
PG_FLAG
|
12
|
Value: Selected Item(s) from list of data with brackets
Data: Constants list of data
Return Value: Character string
|
'sysinfo'
|
PG_SYSINFO
|
13
|
Value: Empty string or for data "USERHOME" only -
path for home folder
Data: Constants: "SYSTEM" or "USERHOME" or
"USERID" or "USERNAME"
Return Value: Character string
|
image'
|
PG_IMAGE
|
14
|
Value: Path or full path for file type image
Data: Filter for dialog, for sample - "*.bmp;*.ico"
Return Value: Character string
|
'check'
|
PG_CHECK
|
15
|
Value: Optional description for check or one from list
of Data
Data: String "true" or "false" or list with two equivalent
value to FALSE and TRUE
Return Value: Logic Value
|
'size'
|
PG_SIZE
|
16
|
Value: String with list of numeric value - "(100,30)"
Data: List with description for value - "Row; Col"
Return Value: Integer Value for selected SUBITEM
|
'file'
|
PG_FILE
|
17
|
Value: Path or full path for file
Data: Filter for dialog, for sample - "*.txt;*.rtf"
Return Value: Character string
|
'folder'
|
PG_FOLDER
|
18
|
Value: Path of folder
Data: Title of dialog
Return Value: Character string
|
'list'
|
PG_LIST
|
19
|
Value: Item from list of data or new item added to list
Data: Constants list of data
Return Value: Character string
|
'userfun'
|
PG_USERFUN
|
20
|
Value: Character string (max 1024 characters)
Data: User function ( or block) to inserted a new Value
Return Value: Character string
|
'password'
|
PG_PASWOD
|
21
|
Value: Character string (max 1024 characters)
Data: Encryption key - charakter string
Return Value: Encrypted character string
|
Position
|
Description
|
1
|
Item Type (look for table above)
|
2
|
Property Name (any text - max 254 characters)
|
3
|
Value (type and form - look table above)
|
4
|
Data (optional -look table above)
|
5
|
Disabled flag
|
6
|
Changed flag
|
7
|
Disable Edit flag
|
8
|
Numeric Item ID
|
9
|
Item Info (max 1024 characters)
|
10
|
Variable Name (max 254 characters)
|
Name of SysColor
|
Constants
|
Value
|
"Scroll"
|
COLOR_SCROLLBAR
|
0
|
"Desktop"
|
COLOR_BACKGROUND
|
1
|
"ActiveCaption"
|
COLOR_ACTIVECAPTION
|
2
|
"InactiveCaption"
|
COLOR_INACTIVECAPTION
|
3
|
"Menu"
|
COLOR_MENU
|
4
|
"Window"
|
COLOR_WINDOW
|
5
|
"WindowFrame"
|
COLOR_WINDOWFRAME
|
6
|
"MenuText"
|
COLOR_MENUTEXT
|
7
|
"WindowText"
|
COLOR_WINDOWTEXT
|
8
|
"CaptionText"
|
COLOR_CAPTIONTEXT
|
9
|
"ActiveBorder"
|
COLOR_ACTIVEBORDER
|
10
|
"InactiveBorder"
|
COLOR_INACTIVEBORDER
|
11
|
"AppWorkspace"
|
COLOR_APPWORKSPACE
|
12
|
"Highlight"
|
COLOR_HIGHLIGHT
|
13
|
"HighlightText"
|
COLOR_HIGHLIGHTTEXT
|
14
|
"ButtonFace"
|
COLOR_BTNFACE
|
15
|
"ButtonShadow"
|
COLOR_BTNSHADOW
|
16
|
"GrayText"
|
COLOR_GRAYTEXT
|
17
|
"ButtonText"
|
COLOR_BTNTEXT
|
18
|
"InactiveCaptionText"
|
COLOR_INACTIVECAPTIONTEXT
|
19
|
"ButtonHighlight"
|
COLOR_BTNHIGHLIGHT
|
20
|
"ControlDark"
|
COLOR_3DDKSHADOW
|
21
|
"ControlLight"
|
COLOR_3DLIGHT
|
22
|
"TooltipText"
|
COLOR_INFOTEXT
|
23
|
"Tooltip"
|
COLOR_INFOBK
|
24
|