ShowLibraryViewer()

Syntax

ShowLibraryViewer([Library$ [, #Object]])
Description
Open the library viewer window or bring it to the front if it is already open. If Library$ is specified then the viewer will show the objects of that library. If an #Object number is specified, then the viewer will display the specified object of that library.

Parameters

Library$ (optional) The library that should be displayed in the viewer. If this parameter is not specified then the viewer will be opened without displaying a specific library.
#Object (optional) An object of the library to display in the viewer. If this parameter is not specified, then no object is displayed.

Return value

None.

Example

  If CreateImage(0, 200, 200) And StartDrawing(ImageOutput(0))
    DrawingMode(#PB_2DDrawing_Transparent)
    Box(0, 0, 200, 200, RGB(255, 255, 255))
    For i = 1 To 30
      DrawText(Random(200), Random(200), "Hello World!", RGB(Random(255), Random(255), Random(255)))
    Next i
    StopDrawing() 
    
    ShowLibraryViewer("Image", 0)  ; Show the image
    CallDebugger                 ; Halt the program so it does not end right away
  EndIf

See Also

Included debugging tools

Supported OS

All

<- ShowDebugOutput() - Debugger Index - ShowMemoryViewer() ->