| **Navigation:**  [[introduction.htm|Language Reference]] > [[chapter runtime properties.htm|App C - PROP: Runtime Properties]] > Complete Property List >====== PROP:Thread ====== | [[prop themeactive.htm|{{btn_prev_n.gif|Previous page}}]][[chapter runtime properties.htm|{{btn_home_n.gif|Return to chapter overview}}]][[prop threading.htm|{{btn_next_n.gif|Next page}}]] | | || Returns the thread number of a window. This is not necessarily the currently executing thread, if you've used SETTARGET to set the TARGET built-in variable. (READ-ONLY) **Example:** **WinView   WINDOW('View'),AT(0,0,320,200),MDI,MAX,HVSCROLL,SYSTEM** **      END** **ToolboxThread BYTE** ** CODE** ** OPEN(WinView)** ** ToolboxThread = ToolboxWin{PROP:Thread}   !Get window thread number** ** ACCEPT** ** END**