<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > UDT predefined in UI module > PropertyList control UDTs > PropertyItem |
Description
PROPERTYITEM structure.
Syntax
Type PROPERTYITEM
propName As Asciz * 32
sOwner As Asciz * 32
curValue As Asciiz * 1024
nItemType As Integer
subtype As Long
cmbItems As Asciiz * 1024
fptr As DWord
User(10) As Long
End Type
Remarks
Fields description
Name |
Meaning |
||||||||||||||
propName |
Unique string identifying the property. This string is also used as property description |
||||||||||||||
sOwner |
In case this item is a sub item, this string must match the PropName string of the owner property item |
||||||||||||||
curValue |
Current initial value. |
||||||||||||||
nItemType |
One of the following equates:
|
||||||||||||||
subtype |
Sub type. Used only if nItemType = %PIT_FONT. Use one of the following equates:
|
||||||||||||||
cmbItems |
In case of %PIT_COMBO, a string listing all possible values separated by | char. Example: "CENTER|TOP|BOTTOM|"
In case of %PIT_FILE, a string defining the possible files to be indicated. Example: "All pict (*.bmp,*.jpg,*.png)|*.BMP;*.JPG;*.PNG|" & _ "Bitmap (*.bmp)|*.BMP|" & _ "JPG (*.JPG)|*.JPG|" & _ "PNG (*.PNG)|*.PNG|" |
||||||||||||||
fptr |
Pointer to the next PropertyItem structure |
See also
Examples