Platforms to show: All Mac Windows Linux Cross-Platform

Back to IconMBS class.

IconMBS.handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Icon Service MBS Picture Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The handle of this icon in memory.
Example
dim i as new IconMBS("FNDR", "MACS") // Finder Icon

MsgBox str(i.handle)

(Read and Write property)

IconMBS.LastError as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Icon Service MBS Picture Plugin 2.7 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The last error code.
Example
dim i as new IconMBS("FNDR", "MACS") // Finder Icon

MsgBox str(i.LastError)

The last function was successfull if lasterror is 0.
If the last function was not available on this machine, the value is set to -1.
Other values are Mac OS error codes.
(Read and Write property)

IconMBS.Release as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Icon Service MBS Picture Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
whether the destructor will release the handle.
Example
dim i as new IconMBS("FNDR", "MACS") // Finder Icon

MsgBox str(i.Release)

(Read and Write property)

IconMBS.valid as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Icon Service MBS Picture Plugin 2.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Were the constructors successfull?
Example
dim i as new IconMBS("FNDR", "MACS") // Finder Icon

MsgBox str(i.valid)

(Read and Write property)

The items on this page are in the following plugins: MBS Picture Plugin.


The biggest plugin in space...