Navigation:  Classes > bIcon >

bIcon:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of the class bIcon.

Class

bIcon

Type

Method

Syntax

bIcon{

<oResourceID> | <kRessourceID>,

[oSize | iSize]

} Æ oIcon

 

bIcon{

<oIcon> | <hIcon>,

[oSize | iSize]

} Æ oIcon

Arguments

<oResourceID>The resource ID of the desired icon.
Data Type:ResourceID

 

<kResourceID>The resource ID of the desired icon as numeric value.
Data Type:Integer

 

<oIcon>An object of the class Icon that is to be created as bIcon.
Data Type:Icon

 

<hIcon>A handle of an icon that is to be created as bIcon.
Data Type:Ptr

 

<oSize>An object of the class dimension that defines the height and width of the icon in pixels.
Data Type:Dimension

 

<iSize>A numeric value that defines the height and width of the icon in pixels.
Data Type:Integer

Return Value

oIconThe created object of the class bIcon.
Data Type:bIcon

Description

bIcon:Init() creates a new object of the class bIcon and initializes it.

 

If the second parameter is not specified, the size of the icon is set to 32*32 pixel.

See Also

bIcon:Size

 


Page url: http://www.YOURSERVER.com/index.html?bicon_init.htm