Table in table - rows do not wrap text - unless prodded. Help?

R

Roody

Hello -

My client loves the Word 2002 app I wrote for them, except for one
thing: They like to use a table within a 'parent' table cell. When they
type text into any of the embedded table's rows, the text does not wrap
at the end of the row, even though textwrap is enabled. Although... they
*can* 'prod' the row to wrap by selecting the embedded table. That seems
to 'kick' it.

I tried using the WindowSelectionChange event to select the embedded
table from code, but that's really kludgey, and doesn't seem to help the
problem, and causes other problems in my program.

Anyone have any ideas?? Stephanie? Bueller? Bueller?

Chuck Mobley
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Roody > écrivait :
In this message said:

In a few minutes I could not reproduce your situation on my Word 2002... so
here are a few questions for you to explore... Either you will find your
solution while looking for the answers, or you will write back with info
that will help us better understand what is going on, or even reproduce your
situation.
OTOH, I do not have a lot of experience with nested tables... I avoid them
like the pest, especially when dealing with a combination of VBA and
inexperienced users.
Usually a recipe for many unpaid hours of support...
My client loves the Word 2002 app I wrote for them, except for one
thing: They like to use a table within a 'parent' table cell. When they

How are the nested tables inserted? The By the user manually? Your app does
the inserting programmatically?
type text into any of the embedded table's rows, the text does not wrap
at the end of the row, even though textwrap is enabled. Although... they

What happens to the text? Does it disappear behind the "parent" cell to the
right of the nested table? Does the nested table cell gets wider and pushes
on the parent table (Making the column in which the nested table reside
wider)? Is the user trying to fit a 4-inch wide table in a 2-inch wide cell?
How about the parent table? Is it set to adjust to the content? Are its
columns set to fix widths?
*can* 'prod' the row to wrap by selecting the embedded table. That seems
to 'kick' it.

What do you mean by that? Just by selecting the table the text wrapping
changes?
I tried using the WindowSelectionChange event to select the embedded
table from code, but that's really kludgey, and doesn't seem to help the
problem, and causes other problems in my program.

Is the nested table floating or not?
Are the nested table columns set to a fixed width or not?

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top