All,
This question is simple but someone can help me out
i have a checkbox and a label, when user selects the checkbox,
the caption of the checkbox (aaaaaaaaaaaaaaaaaaaaa) and label caption
(abc...etc) should be printed in the document here label caption is
spread accross 4-5 lines, how i want to see in the document is
aaaaaaaaaaaaaaaaaaaaa (checkbox caption)
abcccccccccccccccccccccccccccccccccccccccccccccc (label caption)
abcccccccccccccccccccccccccccccccccccccccccccccc
abcccccccccccccccccccccccccccccccccccccccccccccc
when i used vbtab control in the code (strbody = strbody + chkbox
caption + vbtab + label caption) the result is
aaaaaaaaaaaaaaaaaaaaa
abccccccccccccccccccccccccccccccccccccccccccccccccc
abccccccccccccccccccccccccccccccccccccccccccccccccc
abccccccccccccccccccccccccccccccccccccccccccccccccc
Pls help.
Word Heretic - 17 Jan 2006 08:48 GMT
G'day "Srini" <sirumalla.srinivas@gmail.com>,
try using CR or LF instead of tab.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Srini reckoned:
>All,
>This question is simple but someone can help me out
[quoted text clipped - 18 lines]
>
>Pls help.
Srini - 17 Jan 2006 18:55 GMT
Steve,
It did not worked.
Thanks
Srini
Cindy M -WordMVP- - 19 Jan 2006 17:23 GMT
Hi Srini,
It's a question of paragraph formatting. In this case (with vbtab), you
should define the paragraph format with a HANGING Indent. This will be a
combination of the FirstLineIndent and LeftIndent properties of the
Paragraph object.
Most efficient would be to define a style, then simply apply the style as
required.
> i have a checkbox and a label, when user selects the checkbox,
> the caption of the checkbox (aaaaaaaaaaaaaaaaaaaaa) and label caption
[quoted text clipped - 13 lines]
> abccccccccccccccccccccccccccccccccccccccccccccccccc
> abccccccccccccccccccccccccccccccccccccccccccccccccc
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)