Infolinks

Saturday 21 July 2012

SRW.SET_attributes

SRW.SET_attributes


Description The SRW.SET_<attributes> procedures are used to set the format attributes. Mainly used to make some change in the appearance of the layout objects.

          
Format attributes
Value
Text Color
Red
Font Face
Impact
Font Weight
Bold
Font Style
Italic
Font Pattern
Solid diamond

Example
Function age_mask return Boolean is
Begin
If :age < 25 then
Srw.set_text_color(‘Red’);
Srw.set_font_face(‘Impact’) ;
Srw.set_font_weight(srw.bold_weight) ;
Srw.set_font_style(srw.italic_style);
Srw.set_fill_pattern(‘solid diamond’);
End if;
End;

No comments:

Post a Comment