RichText DataWindow

DataWindow control properties in RichText DataWindow

Unsupported

DragAuto property is unsupported.

DataWindow control events in RichText DataWindow

Differences

For ItemFocusChange event:

After retrieving data in a RichText DataWindow on the Web, it triggers the ItemFocusChange event.

Executing SetRow function triggers the ItemFocusChange event on the Web.

For RowFocusChanged event:

On the Web, executing InsertRow or DeleteRow may not trigger the RowFocusChanged event. This is different from that in PowerBuilder.

Executing Clipboard, ImportFile and ImportString functions do not trigger the RowFocusChanged event on the Web. This is different from that in PowerBuilder.

For KeyDown event:

Some keystrokes do not affect the formatting of documents in RichText DataWindow on the Web. For example, pressing Esc after updating data in an input field reverts to the old data in PowerBuilder but pressing the Esc key on the Web does not affect the updating of the data and the changes will be made.

Unsupported

PrintStart and Printed events are unsupported.

DataWindow control functions for RichText DataWindow

Supported

The following functions of DataWindow control are effective only in RichText DataWindow:

CopyRTF

InsertDocument*

PasteRTF

ShowHeadFoot*

InsertDocument

The value of the filetype argument can be FileTypeRichText! or FileTypeText!. The FileTypeHTML! and FileTypeDoc! are still unsupported values in current version.

ShowHeadFoot

On the Web, ShowHeadFoot ( editheadfoot ) is supported, while ShowHeadFoot ( editheadfoot, {headerfooter}) is unsupported.

Differences

For Clicked function, Xpos argument specifies the distance of the pointer from the left side of the DataWindow workspace and Ypos argument specifies the distance of the pointer from the top of the DataWindow workspace on the Web. This is different from the actual behavior of PowerBuilder.

On the Web, the return value of GroupCalc function in RichText DataWindow is the same as in DataWindows of other presentation styles, which differs from that in PowerBuilder.

On the Web, some functions have differences in triggering events in RichText DataWindow with that in PowerBuilder. They behave the same as in DataWindows of other presentation styles. These functions are AcceptText, ShareDataOff, SetSQLSelect, SetSort, Sort, SetFilter, Filter, SetFormat, RowsCopy, RowsDiscard and RowsMove.

Unsupported

GetClickedRow and GetBandAtPointer functions are unsupported.

Performance differences between PowerBuilder and Web

Differences

For RichText DataWindows, clicking the header or footer bands triggers the GetFocus event on the Web. This is different from that in PowerBuilder.

It will not verify the type of the column if it has the initial value when inserting a column on the Web. This is different from that in PowerBuilder.

On the Web, if all data is filtered when executing SetFilter, it displays "??". This is different from that in PowerBuilder.

Double clicking a picture in a RichText DataWindow triggers DoubleClicked event on the Web. This is different from that in PowerBuilder.

On the Web, if the focus is in a computed field, executing GetColumnName returns only the column name excluding the name of the computed field. This is different from that in PowerBuilder.

If there are multiple DataWindows of RichText and other presentation styles in a Window, the last-created RichText DataWindow is always on the top.

If the size of the pasted picture is larger than the RichTextEdit control, the horizontal and vertical scroll bars will be automatically displayed on the Web, though the HScrollBar and VScrollBar properties are set to False.

Alignment buttons on the Web are only effective if the WordWrap property is set to True. This is different from that in PowerBuilder.

The display of scroll bars in RichText DataWindow is the same as that in RichTextEdit control. Also, if the WordWrap property of RichTextEdit control is set to True on the Web, it does not display the horizontal scroll bar.

The behavior of the RichText bars on the Web is consistent with that in PowerBuilder 2019 R2.

Find and Replace methods are partially supported.

Chinese font family will not take effect on the Web.

For RichText DataWindows without containing any field, if it is created in PowerBuilder 9 and 10, the RichText DataWindow will cause IE crash when it converts to the Web.

Only the Detail section will be displayed by default on the Web; and when the ShowHeadFoot function is called, the Header and Footer sections will be displayed while the Detail section will not. This is different from PowerBuilder where the Header, Footer, and Detail sections can display at the same time.

Unsupported features

Unsupported

It is unsupported to use Appeon DataWindow menu.

It is unsupported to modify the column value in the pop-up window when right clicking a input field in a RichText DataWindow.

It is unsupported to dynamically create RichText DataWindows (for example, using Create statement).

It is unsupported to use RichText DataWindow as NVO, DataStore and DropDownDataWindow.

End identifier is unsupported.

It is unsupported to use the shortcut "Ctrl+Z" on the Web.

It is unsupported to set the paragraph alignment for the Text Object on the Web.

The "text-wrap" is unsupported on the Web.