BBjWindow::getIcon

Description

In BBj 16.0 and higher, this method returns the icon from a BBjWindow.

 

Syntax

Return Value

Method

BBjImage

getIcon()

Parameters

None.

Return Value

Returns the window icon as a BBjImage.

Remarks

None.

Example

rem ' BBjWindow::getIcon

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
title$ = "BBjWindow::getIcon"
window! = sysgui!.addWindow(100,100,250,100,title$,$00090003$)
window!.setCallback(window!.ON_CLOSE,"eoj")
print title$,": ",window!.getIcon()
window!.setIcon("bbj.ico",0)
print title$,": ",window!.getIcon()

process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

MINICON Mnemonic - Create Window Icon (SYSWINDOW)

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.