Return type:
Applies to:
LOAD-SMALL-ICON ( smallicon-filename n )In Windows, you can specify a URL pathname for smallicon-filename. If you specify a fully-qualified URL, LOAD-SMALL-ICON( ) loads the icon file directly without searching directories or URLs in PROPATH. Valid URL protocols include HTTP and HTTPS.
Note: URL pathnames cannot contain the percent symbol (%). If an error exists in a URL specified on the PROPATH, the LOAD-SMALL-ICON( ) method continues searching with the next PROPATH entry.If you specify URL pathnames on the PROPATH and your application repeatedly uses the LOAD-SMALL-ICON( ) method with a URL pathname, you can improve performance by using the SEARCH function once to determine the full URL pathname to the directory containing the icon files. Use this value to create a fully-qualified URL pathname for smallicon-filename and avoid repeated searches of the PROPATH.If you specify an empty string ("") for smallicon-filename, this method removes the most recently loaded icon.The pathname can contain Unicode characters. See OpenEdge Development: Internationalizing Applications for more information about Unicode.For example, the following invocation of LOAD-ICON( ) finds the second icon in the icon file file.ico and loads it:
LOAD-ICON("file.ico", 2).
LOAD-ICON("")..NET forms allow you to specify a default icon that works for this purpose using the form Icon property, which in ABL is provided by the Progress.Windows.Form class. You can then change this property as required for different uses.
See also:
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |