Im trying to set some text to wrap inside a field that is setup like a table with some defined tab widths but i keep getting this
Tab width
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Tab width
Hi.
I believe that when you set the properties of a field to be a table field, the "dontWrap" is automatically set to "true". If I understand what you are after, you want one "tab" to wrap. A dataGrid can do this by playing with the row template properties. But DG's are daunting.
You will have to do one of two things. Either make adjacent fields, and manage the data, so if you wrapped a line in the third field (or any field), you would pad the other fields with returns so that they all lined up. This only takes a little work, and should be fun.
Or you can test the number of chars in a table field, and when that value exceeds the length of the space within a tab, add a return. You still need to pad the other "tabs".
I would make adjacent fields. They can all scroll together easily, of course.
Craig Newman
I believe that when you set the properties of a field to be a table field, the "dontWrap" is automatically set to "true". If I understand what you are after, you want one "tab" to wrap. A dataGrid can do this by playing with the row template properties. But DG's are daunting.
You will have to do one of two things. Either make adjacent fields, and manage the data, so if you wrapped a line in the third field (or any field), you would pad the other fields with returns so that they all lined up. This only takes a little work, and should be fun.
Or you can test the number of chars in a table field, and when that value exceeds the length of the space within a tab, add a return. You still need to pad the other "tabs".
I would make adjacent fields. They can all scroll together easily, of course.
Craig Newman
Re: Tab width
thanks craig. i ended up making my own system. i dont like the data grid