Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

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:

%PIT_EDITitem is a text box
%PIT_EDNUMitem is a numeric box
%PIT_COMBOitem is a combo box
%PIT_COLORitem will let user select a color
%PIT_FONTitem will let user select a font
%PIT_ROitem is read only
%PIT_FILEitem will let user select a file

subtype

Sub type. Used only if nItemType = %PIT_FONT. Use one of the following equates:

%PITS_FONTATTSitem will show font attributes
%PITS_FONTSIZEitem will show font size
%PITS_FONTCOLORitem will show font color

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

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software