SetRichTextSize method (DataWindows)
Description
Sets the size
of the font to use while editing columns with the RichText edit
style.
Controls
DataWindow control
Syntax
1 |
Integer <span>dwcontrol</span>.<span>SetRichTextSize</span> ( long <span>size</span> ) |
Argument |
Description |
---|---|
dwcontrol |
A reference to the DataWindow control |
size |
A long value for the point size of the |
Return Values
Returns 0 if it succeeds and –1 if an error occurs.
If the argument’s value is null, SetRichTextSize returns
null.
-
0 Success
-
-1 No RichText column is being edited
Usage
You can call this method from a button in a custom toolbar
that you use to set display characteristics of columns with the
RichText edit style.
Examples
This example sets 16 as the current point size to
use for editing columns that have a RichText edit style:
1 |
Integer li_rtn |
1 |
li_rtn = dw_1.SetRichTextSize(16) |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments