Concept Framework 1.0 documentation Contents | Index

RButton.LoadIcon

Name Type Access Version Deprecated
LoadIcon function public version 1.0 no

Prototype:
public function LoadIcon(filename)

Parameters:
filename      The filename of the image to load (a jpg, gif, png, ...)

Description:
This is an alternative to the Image property. This function creates an image from a file, and then sets it as the button image. Notice that this feature is not supported on any platform. For example, on Microsoft Windows is better to add a RVBox in wich you can put a RImage and a RLabel. For portability is recommended to use the RVBox method.

Returns:
This function returns the RImage object created.

Documented by Eduard Suica, generation time: Thu Oct 15 20:01:54 2009 GMT(c)2009 RadGs Software