DEBUGWINDOWS

Synopsis
DEBUGWINDOWS
(DEBUGWINDOWS name)
Description

Prints the tree (hierarchy of parent-child relationships) of a window. For each window that is printed, both the window type and name are printed.

If a name input is given, then DEBUGWINDOWS prints the hierarchy of the window that is identified by name. If no name input is given, all windows and controls are printed.

Example
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 []
LISTBOXCREATE "mywindow "mylist 25 0 50 50
BUTTONCREATE "mywindow "mydraw "Draw 25 50 50 25 [Print "Click]
DEBUGWINDOWS
Window mywindow
  Button  mydraw
  ListBox  mylist
WINDOWDELETE "mywindow

SourceForge.net Logo