WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Dialog Editor version 6.X
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Word Wrap in Controls

Keywords:   word wrap

Question:

Is it possible to be able to center the text and enable word wrap within the text control box?

Answer:

Assuming that you are referring to static or vary text controls, they currently support word wrapping at work breaks and if you dynamically change the text of these controls the text will be wrapped at word breaks.

To support center text alignment, we can add a new style bit for use in the control's style attribute field that causes the text to be centered instead of left justified. However, it would not possible to dynamically change this particular style in the dialog procedure.


Article ID:   W15132
File Created: 2002:09:05:13:49:50
Last Updated: 2002:09:05:13:49:50