Please enable JavaScript to view this site.

thinBasic Help Manual

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

BEGIN CONTROLID ... END CONTROLID

Scroll Prev Top Next More

* * 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

 

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

 

 

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