<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Pseudo-object Methods and Properties > <ControlName>.ID |
Description
Allows retrieving the control ID of the control.
Syntax
' Get
controlID = <controlName>.ID
Returns
Number, control ID.
Remarks
Restrictions
Currently get only.
See also
Examples
control add label name "myTitle", hDlg, %lTitle, "", 5, 5, 100, 25
' No need to use hDlg, %lTitle, you can use the name directly
' Will return value equivalent to hDlg
MsgBox 0, myTitle.Parent