CLRTYPE Mnemonic - Clear Windows or Control Titles According to Type
Syntax
'CLRTYPE'(type{,type...})
Description
The 'CLRTYPE' mnemonic clears the titles from windows and controls contained in the current context, based upon window or control type.
Parameter |
Description |
type |
Window or control type, as identified by the value(s) contained in the table below. |
Unless each type in the list refers to a type of window or window contained in the current context, 'CLRTYPE' will not clear any titles but will generate an !ERROR=29 with the TCB(10) set to the id that prompted the error. The following lists the values for the type parameter:
Value |
Control/Window |
1 |
Top level window. |
2 |
Bordered child window. |
7 |
Borderless child window. |
11 |
Button control. |
12 |
Radio button control. |
13 |
Check box control. |
14 |
Horizontal scroll bar control. |
15 |
Vertical scroll bar control. |
16 |
Edit control. |
17 |
Static text control. |
18 |
List box control. |
19 |
List button control. |
20 |
List edit control. |
21 |
Group box control. |
22 |
Custom edit control. |
102 |
Status bar control. |
103 |
Tool button control. |
104 |
INPUTE control. |
105 |
INPUTN control. |
106 |
Tab control. |
107 |
Grid control. |
Example
The following example clears the titles from list edit, INPUTN, and INPUTE controls contained in the current context:
PRINT (sysgui)'CLRTYPE'(20,104,105)