Feature difference between TE Edit Control and TX Text
Control
TE Edit Control (added in PowerBuilder 2017) provides almost the
same functions/events/properties as TX Text Control (which has been
used since earlier versions of PowerBuilder), except for the following
differences and issues (due to the different ways they are
designed):
|
Affected area |
Type |
Description |
|---|---|---|
|
Double-byte languages |
Unsupported |
Double-byte languages such as Korean, Japanese |
|
InputFieldBackColor property |
Limitation |
For TE Edit Control, this property will not take |
|
Wordwrap property |
Limitation |
For TE Edit Control, this property is always true |
|
BackColor property |
Difference |
For TE Edit Control, if you set a negative value For TX Text Control, if |
|
BottomMargin/RightMargin/LeftMargin/TopMargin |
Difference |
For TE Edit Control, if you set a negative value, For TX Text Control, |
|
Find function |
Enhancement |
For TE Edit Control, the Find function can not |
|
GetTextColor/GetTextStyle functions and font |
Difference |
For TE Edit Control, this function will return For TX |
|
GetAlignment/GetSpacing/GetParagraphSetting |
Difference |
For TE Edit Control, this function will return For TX Text Control, |
|
GetParagraphSetting function |
Difference |
The returned value is different between TE Edit |
|
Visio drawings |
New feature |
Visio drawings can be pasted or inserted into TE |
|
Preview |
New feature |
All pages can be previewed (by scrolling) in TE |
|
SelectedPage function |
Limitation |
For TE Edit Control, the SelectedPage function |
|
ShowHeadFoot function |
Difference |
When the document is in preview mode, TX Text |
|
ReplaceText function |
Limitation |
In TE Edit Control, the text after replaced will |
|
SaveDocument function |
Limitation |
In TE Edit Control, when saving to HTML, the |
|
CopyRTF function |
Difference |
TE Edit Control will return a longer string which |
|
Insertion point |
Difference |
When the user switches the editor band (e.g. from |
|
Input field |
Difference |
TE Edit Control limits the length of the input |
|
Font |
Difference |
In TE Edit Control, if the user uses a |
|
Image |
Difference |
In TE Edit Control, when the user tries to |
|
Bullet list alignment |
Issue |
In TE Edit Control, the bullet symbol is cut off |