Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

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

MsgBox str(i.handle)
Notes: (Read and Write property)

Feedback, Comments & Corrections

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

MsgBox str(i.LastError)
Notes:
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)

Feedback, Comments & Corrections

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

MsgBox str(i.Release)
Notes: (Read and Write property)

Feedback, Comments & Corrections

IconMBS.valid as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Icon Service MBS Picture Plugin 2.6 Yes No No Yes, macOS only No
Function: Were the constructors successfull?
Example:
dim i as new IconMBS("FNDR", "MACS") // Finder Icon

MsgBox str(i.valid)
Notes: (Read and Write property)

Feedback, Comments & Corrections

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




Links
MBS Xojo tutorial videos