BEGIN CONTROLID ... END CONTROLID

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > Data types and variables > BEGIN >

BEGIN CONTROLID ... END CONTROLID

 

Description

 

Define beginning and end of a ControlID declaration block.

This special block is used to define User Interface (UI) IDs to be used for controls. See UI module for addition info about controls.

 

The very first control ID will start from value %WM_USER unless a numeric expression is specified.

 

Syntax

 

BEGIN CONTROLID

 %ID_Label1    [= Numeric Expression]

 %ID_TextBox1  [= Numeric Expression]

 %ID_ListView1 [= Numeric Expression]

 %ID1, %ID2, %ID3

END CONTROLID

 

Returns

 

None

 

Parameters

 

Remarks

 

Numeric equate name must start with % sign.

If numeric equate value is not specified, the last value used incremented by 1 will be assigned.

 

Restrictions

 

It is recommended to not specify any Numeric Expression in order to use %WM_USER based control ids.

 

See also

 

Examples