Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Returns the control type.

Syntax

Syntax:ctrlType control
Parameters:
Return Value:

Number - Can be:

  • 2D controls:
    • 0: STATIC
    • 1: BUTTON
    • 2: EDIT
    • 3: SLIDER
    • 4: COMBO
    • 5: LISTBOX
    • 6: TOOLBOX
    • 7: CHECKBOXES
    • 8: PROGRESS
    • 9: HTML
    • 10: STATIC_SKEW
    • 11: ACTIVETEXT
    • 12: TREE
    • 13: STRUCTURED_TEXT
    • 14: CONTEXT_MENU
    • 15: CONTROLS_GROUP
    • 40: XKEYDESC
    • 41: XBUTTON
    • 42: XLISTBOX
    • 43: XSLIDER
    • 44: XCOMBO
    • 45: ANIMATED_TEXTURE
    • 98: LINEBREAK
    • 99: USER
    • 100: MAP (map returns 0)
    • 101: MAP_MAIN (map returns 0)
  • 3D controls:
    • 80: OBJECT
    • 81: OBJECT_ZOOM
    • 82: OBJECT_CONTAINER
    • 83: OBJECT_CONT_ANIM

Examples

Examples:
_type = ctrlType _control

Additional Information

See also: 
Multiplayer: 
Problems: 

Notes