cancel
Showing results for 
Search instead for 
Did you mean: 

Word Wrap problem in RTE Control

Former Member
0 Kudos
81

We have an internal use PB 12.5 app that uses a RTE control. We have Word Wrap set on, in the control.

We have this installed on 3 computers. On two of the computers, word wrap works perfectly. But on one of them, lines don't wrap unless there's a newline, and you have to scroll horizontally to see all of the text. If you right-click and pick Properties though, it shows Word Wrap as being on!

Any thoughts? Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Dan;

Are the "Regional Settings" the same on the PC's that work vs the one PC that does not?

Regards ... Chris

Former Member
0 Kudos

Chris, which part of the regional settings do you think might be relevant?

Former Member
0 Kudos

FWIW (Just a wild thought):

Current Location

KeyBoards

Language

System Locale

The other aspects would be:

Video Card

Video Driver

Default Printer (more for the DW based RTE though).

FYI: The RTE control is not from PB is actually TX Text Control from ... http://www.textcontrol.com/en_US/products/activex/overview/

Former Member
0 Kudos

Wow, one of those Regional & Language control panel settings did it. No idea which one.

Former Member
0 Kudos

LOL ... Yep, Regional Settings have bitten me before too with my PB applications - just like one of those pesky Canadian mosquitoes! 

Glad that it all worked out for you! 

Don't forget ....  have you hugged your DataWindows today? 

Answers (2)

Answers (2)

Former Member
0 Kudos

Are there any events/functions that could be called based on data from the DB that would result in a change to the order of events?

Just for jollies?  Try adding code after the load of your document to refresh the word wrap?

this.WordWrap     = FALSE

this.WordWrap     = TRUE

Former Member
0 Kudos

That one didn't help. I expected it wouldn't, because making the same changes through the UI in the program (through right-clicking and picking Properties), to turn off Word Wrap then turn it back on again, didn't fix it either.

arnd_schmidt
Active Contributor
0 Kudos

Welcome to PowerBuilder's RTE features.

I would use ListDLLs to see if there are any differences between the machines.

Are you using the exactly same texts?

hth

Arnd

Former Member
0 Kudos

I have recopied the RTE DLLs (TP*.* actually) from my (working) machine to my colleague's not working machine. No change.

Yes, we are viewing exactly the same data, it's a network program connected to the same DB.

arnd_schmidt
Active Contributor
0 Kudos

I am not 100 % sure, but doesn't the word wrap depend on the document's settings (size, margins etc.)?

Former Member
0 Kudos

It might, but we are looking at exactly the same documents and getting different results!

arnd_schmidt
Active Contributor
0 Kudos

Do they have the same print specifications?