Home News DOC Class DL Others Rice
Class  >  message  >  Icon(int)
message class : Icon(int) setter

Description

Sets the icon.

Syntax

instance.Icon = value;

Assigned value

ClassDescription
intA value that indicates the type of icon.

Return value

None.

Sample code

1:

message instance = new message();

2:

instance.Icon = 3; // Warning icon will be appear.

Notes

Specifies the icon by numerical value.


The following is the correspondence between icons and numerical values.

0 : None : Not appear.

1 : Error : X in a circle with a red background.

2 : Question : Question in a circle.

3 : Warning : Exclamation in a triangle with a yellow background.

4 : Information : i in a circle.


The default value is 0.

Links for reference

None.

Copyright © Rice All rights reserved.