Like the earlier rich text editor, the new editor includes a toolbar and ruler that you can hide or display at design time or runtime. If you enable the PopMenu property on a RichTextEdit control or rich text DataWindow, end users of your PowerBuilder applications can also opt to display or hide the toolbar or ruler.
The new editor includes a status bar that you can enable at design time or runtime, or that the users of your rich text applications can opt to display or hide. The rich text editor no longer includes a separate tab bar. End users of a rich text control can set tabs for the control in the Tabs dialog box or directly on the ruler.
The toolbar for the rich text editor has a contemporary flat-style look. It includes drop-down lists for formatting style and zoom percent, and toolbar buttons for adding bullets or sequential numbers to paragraphs in the rich text control.
Users can set document properties in text format dialog boxes that they open by double-clicking on blank areas of the toolbar.
To open this dialog box |
Double-click this area on the toolbar |
---|---|
Styles |
Space in front of the Style drop-down list or the space trailing it |
Font |
Space in front of any of the font-related fields—font face drop-down list, font size drop-down list, or character attributes (bold, italic, underline)—or the space trailing them |
Paragraph |
Space in front of or trailing the alignment buttons |
Bullets and Numbering |
Space in front of or trailing the bullet and numbering buttons |
Tabs |
Space in front of or trailing the tab and paragraph buttons |
The new editor lets you view headers and footers at the same time as the text body. When you opt to include headers and footers, the editor displays each page of text with borders for the top and bottom margins, and with gaps between adjoining pages. This gives the rich text control or DataWindow object a three-dimensional appearance.
You can decide whether to allow headers and footers at design time only. If you do not allow headers and footers, the pages of text display as a continuous sheet without borders or margins, although you can still see separate pages in the print preview mode.
The Styles dialog box and the Bullets and Numbering dialog box are new to PowerBuilder 10.5. Users can create, modify, or delete styles in the Styles dialog box. The Font dialog box now includes line position items (normal, superscript, subscript). The Paragraph dialog box adds indent and distance-setting capabilities. In earlier versions of PowerBuilder, the Tabs dialog box was included in the Paragraph dialog box, but it is now separate.