set_icon

Declaration

set_icon (name: STRING)

Description

Sets the icon for the project when it is running. The icon for the executable remains the same. This function looks for the icon name in the 'icons' location.

Note: This function is only implemented on Windows. Other platforms don't generate an error, but ignore this function.

See Also

preferences functions
Location Manager

Example

script startup is
  set_icon ('project_icon.ico')
end