Xbasic
OBJECT.ICON_GET Function
Syntax
Icon_Name as C = .Icon_Get()
Description
Returns the name of the associated icon and icon type.
Discussion
The <OBJECT>.ICON_GET() method applies to:
- Control Panel (for <OBJECT> use the keyword "CONTROLPANEL")
- Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
- Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.ICON_GET() method returns the name of the icon associated with the icon type.
Example
dim iname as C dim ptr as P ptr = form.load("Travel Time") iname = ptr.Icon_Get() ? iname = " $a5_form"
Limitations
Desktop applications only.
See Also