RichTextBox not wrapping on one computer

  • Thread starter Thread starter A Kabak
  • Start date Start date
A

A Kabak

I've got a large windows forms application out to my users
in a final test release, and one user reports that his
RichTextBox controls don't wrap text on certain forms
only. If he types in the control, it doesn't wrap.
However, if he pastes text into the control, it wraps. It
also wraps when loading from the database. Finally, it
wraps on everyone else's machines.

Anyone have any ideas? Another quirk is that we've got an
inherited base form with a check box and label at the
bottom of the form, and these elements don't appear on two
people's machines.

All the machines in the company are set up the same way,
and we can't see any differences in any obvious settings.
Any help would be appreciated.
 
Are the controls somehow ending up larger than their parent controls
(possibly what's happening with your RichTextBoxes), or falling outside
their parent's bounds (possibly what's happening with the controls at the
bottom of your form)?

The most common reason this sort of thing would happen is if you set the
form's Size instead of setting its ClientSize, and the computers have
different Windows settings for their title bar font. But there could be
other causes as well.
 
Hi,

It could be a problem with the underlying richedit control on their
computers. The version of this control (and corresponding bugs) varies
depending on their OS, whether they have Office installed, etc.

-- Pete
 
Back
Top