BBjImageManager::getDefaultIcon

Description

In BBj 20.0 and higher, this method returns the default window icon.

Syntax

Return Value

Method

BBjImage

getDefaultIcon()

Parameters

None.

Return Value

Returns the default window icon as a BBjImage.

Remarks

None.

Example

rem ' getDefaultIcon

sysgui = unt
open (sysgui)"X0"
sysgui! = bbjapi().getSysGui()
imagemanager! = sysgui!.getImageManager()
image! = imagemanager!.getDefaultIcon()
image! = imagemanager!.loadImageFromFile("BBj.png",err=*next)
url$ = "https://basis.cloud/wp-content/uploads/2023/10/BBjlogo.jpg"
image! = imagemanager!.loadImageFromClientURL(url$)
image! = imagemanager!.loadImageFromServerURL(url$)
image! = imagemanager!.loadImageFromURL(url$)
imagemanager!.setDefaultIcon(image!)
window! = sysgui!.addWindow(100,100,225,225,"getDefaultIcon",$00090003$,$$)
window!.setCallback(window!.ON_CLOSE,"EOJ")
window!.addImageCtrl(101,25,25,image!.getWidth(),image!.getHeight(),image!)
process_events

eoj:
release

See Also

BBjAPI

BBjSysGui

BBjImageManager

BBjImage

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